mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 17:49:02 +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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user