mirror of https://github.com/k3s-io/k3s
parent
e28be2912c
commit
062fe63dd1
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue