mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 04:55:22 +00:00
wait for informer caches to sync before running controllers
Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
@@ -62,8 +62,6 @@ func NewServerStatusRequestController(
|
||||
}
|
||||
|
||||
c.syncHandler = c.processItem
|
||||
c.cacheSyncWaiters = append(c.cacheSyncWaiters, informer.Informer().HasSynced)
|
||||
|
||||
c.resyncFunc = c.enqueueAllItems
|
||||
c.resyncPeriod = statusRequestResyncPeriod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user