disco: simplify expression, appease staticcheck

Was:
disco/disco.go:164:10: unnecessary use of fmt.Sprintf (S1039)
This commit is contained in:
Brad Fitzpatrick 2020-07-02 10:52:23 -07:00
parent 57e8931160
commit 847b6f039b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}