Skip to content

Commit

Permalink
fix bgp: sync service cache (#1673)
Browse files Browse the repository at this point in the history
  • Loading branch information
lx1036 authored and zhangzujian committed Jul 8, 2022
1 parent f818ca5 commit 3401d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/speaker/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (c *Controller) Run(stopCh <-chan struct{}) {
c.informerFactory.Start(stopCh)
c.kubeovnInformerFactory.Start(stopCh)

if ok := cache.WaitForCacheSync(stopCh, c.podsSynced, c.subnetSynced); !ok {
if ok := cache.WaitForCacheSync(stopCh, c.podsSynced, c.subnetSynced, c.servicesSynced); !ok {
klog.Fatalf("failed to wait for caches to sync")
return
}
Expand Down

0 comments on commit 3401d93

Please sign in to comment.