Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup: remove unnecessary check controllerutil.IsCacheNotStarted in…
… controllers (#9168) * remove function util.IsCacheNotStarted since controller-runtime v0.8.1, manager start all caches before other Runnables so this function is not need anymore cf kubernetes-sigs/controller-runtime#1327 Signed-off-by: Vincent Gramer <vincent@kubermatic.com> * master-controller-manager/usersshkeyssynchronizer/controller.go: remove unecessary check since controller-runtime v0.8.1 the manager start all cache before running runables, so this error can not happen. Signed-off-by: Vincent Gramer <vincent@kubermatic.com> * master-controller-manager/project-label-synchronizer/project_label_synchronizer.go: remove unecessary check since controller-runtime v0.8.1 the manager start all cache before running runables, so this error can not happen. Signed-off-by: Vincent Gramer <vincent@kubermatic.com> * master-controller-manager/master-constraint-template-controller/controller.go: remove unecessary check since controller-runtime v0.8.1 the manager start all cache before running runables, so this error can not happen. Signed-off-by: Vincent Gramer <vincent@kubermatic.com> * master-controller-manager/master-constraint-controller/controller.go: remove unecessary check since controller-runtime v0.8.1 the manager start all cache before running runables, so this error can not happen. Signed-off-by: Vincent Gramer <vincent@kubermatic.com> * master-controller-manager/cluster-template-synchronizer/controller.go: remove unecessary check since controller-runtime v0.8.1 the manager start all cache before running runables, so this error can not happen. Signed-off-by: Vincent Gramer <vincent@kubermatic.com>
- Loading branch information
Showing
6 changed files
with
1 addition
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters