mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
health: fix magicsockReceiveFuncWarnable health clearing
Fixes #13204 Change-Id: I7154cdabc9dc362dcc3221fd5a86e21f610bbff0 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
3d401c11fa
commit
13dee9db7b
@ -1064,7 +1064,7 @@ func (t *Tracker) updateBuiltinWarnablesLocked() {
|
||||
_ = t.lastStreamedMapResponse
|
||||
_ = t.lastMapRequestHeard
|
||||
|
||||
shouldClearMagicsockWarnings := false
|
||||
shouldClearMagicsockWarnings := true
|
||||
for i := range t.MagicSockReceiveFuncs {
|
||||
f := &t.MagicSockReceiveFuncs[i]
|
||||
if f.missing {
|
||||
@ -1072,6 +1072,7 @@ func (t *Tracker) updateBuiltinWarnablesLocked() {
|
||||
ArgMagicsockFunctionName: f.name,
|
||||
})
|
||||
shouldClearMagicsockWarnings = false
|
||||
break
|
||||
}
|
||||
}
|
||||
if shouldClearMagicsockWarnings {
|
||||
|
Loading…
Reference in New Issue
Block a user