Fix annoying netpol log

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/5106/head
Manuel Buil 2022-02-10 19:53:36 +01:00
parent e28be2912c
commit 062fe63dd1
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@ func Run(ctx context.Context, nodeConfig *config.Node) error {
if err != nil {
return err
}
// Initialize all healthcheck timers. Otherwise, the system reports incorrect heartbeat missing messages
hc.SetAlive()
wg.Add(1)
go hc.RunCheck(healthCh, stopCh, &wg)