wgengine: update a log line from 'weird' to conventional 'unexpected'

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-04-27 09:59:25 -07:00
parent 3bdc9e9cb2
commit 3c9dea85e6

View File

@ -1207,7 +1207,7 @@ func (e *userspaceEngine) RequestStatus() {
case <-e.reqCh: case <-e.reqCh:
s, err := e.getStatus() s, err := e.getStatus()
if s == nil && err == nil { if s == nil && err == nil {
e.logf("RequestStatus: weird: both s and err are nil") e.logf("[unexpected] RequestStatus: both s and err are nil")
return return
} }
if cb := e.getStatusCallback(); cb != nil { if cb := e.getStatusCallback(); cb != nil {