mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
Should start clusterprofile informer when featuregate is enabled (#1079)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m4s
Post / coverage (push) Failing after 36m45s
Post / images (amd64) (push) Failing after 8m20s
Post / images (arm64) (push) Failing after 7m51s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 1m20s
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m4s
Post / coverage (push) Failing after 36m45s
Post / images (amd64) (push) Failing after 8m20s
Post / images (arm64) (push) Failing after 7m51s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 1m20s
Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
@@ -349,7 +349,7 @@ func (m *HubManagerOptions) RunControllerManagerWithInformers(
|
||||
go workInformers.Start(ctx.Done())
|
||||
go kubeInformers.Start(ctx.Done())
|
||||
go addOnInformers.Start(ctx.Done())
|
||||
if features.HubMutableFeatureGate.Enabled(ocmfeature.DefaultClusterSet) {
|
||||
if features.HubMutableFeatureGate.Enabled(ocmfeature.ClusterProfile) {
|
||||
go clusterProfileInformers.Start(ctx.Done())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user