mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #5106 from manuelbuil/fix_annoying_netpol_log
Fix annoying netpol heartbeat missing log
This commit is contained in:
commit
5233946ca1
@ -76,6 +76,10 @@ func Run(ctx context.Context, nodeConfig *config.Node) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialize all healthcheck timers. Otherwise, the system reports incorrect heartbeat missing messages
|
||||||
|
hc.SetAlive()
|
||||||
|
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go hc.RunCheck(healthCh, stopCh, &wg)
|
go hc.RunCheck(healthCh, stopCh, &wg)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user