mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
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:
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…
x
Reference in New Issue
Block a user