block start in cluster health monitor
Signed-off-by: Garrybest <garrybest@foxmail.com>
This commit is contained in:
parent
0941887e05
commit
b1de17b3d7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue