block start in cluster health monitor

Signed-off-by: Garrybest <garrybest@foxmail.com>
This commit is contained in:
Garrybest 2021-07-01 10:39:16 +08:00
parent 0941887e05
commit b1de17b3d7
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ func (c *Controller) Start(ctx context.Context) error {
klog.Errorf("Error monitoring cluster health: %v", err)
}
}, c.ClusterMonitorPeriod)
<-ctx.Done()
return nil
}