ipn: fix buggy-looking format string in error log

On shutdown, logs showed:
wgengine status error: &errors.errorString{s:"engine closing; no status"}
pull/957/head
Brad Fitzpatrick 3 years ago
parent 66be052a70
commit b5129dadfd

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

Loading…
Cancel
Save