ipn/ipnlocal: be consistent in not logging when no notify registered

Some paths already didn't. And in the future I hope to shut all the
notify funcs down end-to-end when nothing is connected (as in the
common case in tailscaled).  Then we can save some JSON encoding work.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-04-12 10:38:12 -07:00
parent 7c0e58c537
commit 4c3f7c06fc
1 changed files with 0 additions and 1 deletions

View File

@ -932,7 +932,6 @@ func (b *LocalBackend) send(n ipn.Notify) {
b.mu.Unlock()
if notifyFunc == nil {
b.logf("nil notify callback; dropping %+v", n)
return
}