diff --git a/pkg/bridge/lookup.go b/pkg/bridge/lookup.go index 204af79..5727eb5 100644 --- a/pkg/bridge/lookup.go +++ b/pkg/bridge/lookup.go @@ -58,7 +58,7 @@ func NewManagerForClientWithTimeout(client kubernetes.Interface, timeout time.Du m := runtimeclass.NewManager(client) stop := make(chan struct{}) m.Start(stop) - synced := make(chan struct{}) + synced := make(chan struct{}, 1) go func() { m.WaitForCacheSync(stop) close(synced)