mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
disco: simplify expression, appease staticcheck
Was: disco/disco.go:164:10: unnecessary use of fmt.Sprintf (S1039)
This commit is contained in:
parent
57e8931160
commit
847b6f039b
@ -161,7 +161,7 @@ func MessageSummary(m Message) string {
|
||||
case *Pong:
|
||||
return fmt.Sprintf("pong tx=%x", m.TxID)
|
||||
case CallMeMaybe:
|
||||
return fmt.Sprintf("call-me-maybe")
|
||||
return "call-me-maybe"
|
||||
default:
|
||||
return fmt.Sprintf("%#v", m)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user