ipn: fix buggy-looking format string in error log

On shutdown, logs showed:
wgengine status error: &errors.errorString{s:"engine closing; no status"}
This commit is contained in:
Brad Fitzpatrick 2021-01-06 20:18:29 -08:00
parent 66be052a70
commit b5129dadfd

View File

@ -351,7 +351,7 @@ func (b *LocalBackend) setClientStatus(st controlclient.Status) {
// This updates the endpoints both in the backend and in the control client.
func (b *LocalBackend) setWgengineStatus(s *wgengine.Status, err error) {
if err != nil {
b.logf("wgengine status error: %#v", err)
b.logf("wgengine status error: %v", err)
return
}
if s == nil {