mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-01 05:52:24 +00:00
tstest: make LogLineTracker pass variadic format args through
Omitting the "..." passed a literal []interface{} to the underlying logger always.
This commit is contained in:
parent
68c42530e9
commit
7fddc33481
@ -75,7 +75,7 @@ func (lt *LogLineTracker) Logf(format string, args ...interface{}) {
|
|||||||
lt.seen[format] = true
|
lt.seen[format] = true
|
||||||
}
|
}
|
||||||
lt.mu.Unlock()
|
lt.mu.Unlock()
|
||||||
lt.logf(format, args)
|
lt.logf(format, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check returns which format strings haven't been logged yet.
|
// Check returns which format strings haven't been logged yet.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user