diff --git a/health/health.go b/health/health.go index 1faab53f9..7bb9d18e9 100644 --- a/health/health.go +++ b/health/health.go @@ -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 {