Merge pull request #108316 from hyschumi/fix_unnecessary_handlecrash

endpointslice: remove unnecessary HandleCrash
This commit is contained in:
Kubernetes Prow Robot
2022-03-07 18:20:34 -08:00
committed by GitHub

View File

@@ -265,10 +265,6 @@ func (c *Controller) Run(workers int, stopCh <-chan struct{}) {
go wait.Until(c.worker, c.workerLoopPeriod, stopCh)
}
go func() {
defer utilruntime.HandleCrash()
}()
<-stopCh
}