From feccf1298d625536053d1ff67170420a43bc4e8a Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Mon, 21 Jul 2025 16:46:17 +0800 Subject: [PATCH] Should start clusterprofile informer when featuregate is enabled (#1079) Signed-off-by: Jian Qiu --- pkg/registration/hub/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registration/hub/manager.go b/pkg/registration/hub/manager.go index 486248df0..bc8bded8d 100644 --- a/pkg/registration/hub/manager.go +++ b/pkg/registration/hub/manager.go @@ -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()) }