mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #94116 from robscott/automated-cherry-pick-of-#94086-upstream-release-1.18
Automated cherry pick of #94086: Updating EndpointSlice controller to wait for all caches to
This commit is contained in:
commit
f0f4e5722d
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ func (c *Controller) Run(workers int, stopCh <-chan struct{}) {
|
|||
klog.Infof("Starting endpoint slice controller")
|
||||
defer klog.Infof("Shutting down endpoint slice controller")
|
||||
|
||||
if !cache.WaitForNamedCacheSync("endpoint_slice", stopCh, c.podsSynced, c.servicesSynced) {
|
||||
if !cache.WaitForNamedCacheSync("endpoint_slice", stopCh, c.podsSynced, c.servicesSynced, c.endpointSlicesSynced, c.nodesSynced) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue