mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 11:41:39 +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.lastStreamedMapResponse
|
||||||
_ = t.lastMapRequestHeard
|
_ = t.lastMapRequestHeard
|
||||||
|
|
||||||
shouldClearMagicsockWarnings := false
|
shouldClearMagicsockWarnings := true
|
||||||
for i := range t.MagicSockReceiveFuncs {
|
for i := range t.MagicSockReceiveFuncs {
|
||||||
f := &t.MagicSockReceiveFuncs[i]
|
f := &t.MagicSockReceiveFuncs[i]
|
||||||
if f.missing {
|
if f.missing {
|
||||||
@ -1072,6 +1072,7 @@ func (t *Tracker) updateBuiltinWarnablesLocked() {
|
|||||||
ArgMagicsockFunctionName: f.name,
|
ArgMagicsockFunctionName: f.name,
|
||||||
})
|
})
|
||||||
shouldClearMagicsockWarnings = false
|
shouldClearMagicsockWarnings = false
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if shouldClearMagicsockWarnings {
|
if shouldClearMagicsockWarnings {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user