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
commit 34a6a7ca11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}