diff --git a/pkg/spoke/spokeagent.go b/pkg/spoke/spokeagent.go index 9139da98d..4607950bc 100644 --- a/pkg/spoke/spokeagent.go +++ b/pkg/spoke/spokeagent.go @@ -184,7 +184,7 @@ func (o *SpokeAgentOptions) RunSpokeAgent(ctx context.Context, controllerContext } hubKubeInformerFactory := informers.NewSharedInformerFactory(hubKubeClient, 10*time.Minute) - // create an informer factory with cluster name field selector because we just need to handle the current spoke cluster + // create a cluster informer factory with name field selector because we just need to handle the current spoke cluster hubClusterInformerFactory := clusterv1informers.NewSharedInformerFactoryWithOptions( hubClusterClient, 10*time.Minute,