Skip to content

Commit

Permalink
fixup! UPSTREAM: <carry>: kube-controller-manager: allow running bare…
Browse files Browse the repository at this point in the history
… kube-controller-manager
  • Loading branch information
damemi committed Dec 7, 2021
1 parent c269749 commit d6be62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/daemon/daemon_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (dsc *DaemonSetsController) Run(ctx context.Context, workers int) {
return
}
if dsc.namespaceStoreSynced != nil {
if !cache.WaitForNamedCacheSync("daemon sets", stopCh, dsc.namespaceStoreSynced) {
if !cache.WaitForNamedCacheSync("daemon sets", ctx.Done(), dsc.namespaceStoreSynced) {
return
}
}
Expand Down

0 comments on commit d6be62a

Please sign in to comment.