mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
Reduce logspam from node with no peers
Signed-off-by: Wendi Yu <wendi.yu@yahoo.ca>
This commit is contained in:
parent
cd01bcc395
commit
3663797815
@ -567,7 +567,9 @@ func (b *LocalBackend) parseWgStatus(s *wgengine.Status) EngineStatus {
|
||||
rx += p.RxBytes
|
||||
tx += p.TxBytes
|
||||
}
|
||||
b.logf("v%v peers: %v", version.LONG, strings.Join(ss, " "))
|
||||
if len(ss) != 0 {
|
||||
b.logf("v%v peers: %v", version.LONG, strings.Join(ss, " "))
|
||||
}
|
||||
return EngineStatus{
|
||||
RBytes: rx,
|
||||
WBytes: tx,
|
||||
|
Loading…
Reference in New Issue
Block a user