File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -575,8 +575,8 @@ func NewConfig(ctx context.Context, opts kcpserveroptions.CompletedOptions) (*Co
575575 // make sure the informer gets started, otherwise conversions will not work!
576576 _ = c .KcpSharedInformerFactory .Apis ().V1alpha1 ().APIConversions ().Informer ()
577577
578- c .ApiExtensionsSharedInformerFactory .Apiextensions ().V1 ().CustomResourceDefinitions ().Informer ().GetIndexer ().AddIndexers (cache.Indexers {byGroupResourceName : indexCRDByGroupResourceName }) //nolint:errcheck
579- c .KcpSharedInformerFactory .Apis ().V1alpha2 ().APIBindings ().Informer ().GetIndexer ().AddIndexers (cache.Indexers {byIdentityGroupResource : indexAPIBindingByIdentityGroupResource }) //nolint:errcheck
578+ _ = c .ApiExtensionsSharedInformerFactory .Apiextensions ().V1 ().CustomResourceDefinitions ().Informer ().GetIndexer ().AddIndexers (cache.Indexers {byGroupResourceName : indexCRDByGroupResourceName })
579+ _ = c .KcpSharedInformerFactory .Apis ().V1alpha2 ().APIBindings ().Informer ().GetIndexer ().AddIndexers (cache.Indexers {byIdentityGroupResource : indexAPIBindingByIdentityGroupResource })
580580
581581 c .ApiExtensions .ExtraConfig .ClusterAwareCRDLister = & apiBindingAwareCRDClusterLister {
582582 kcpClusterClient : c .KcpClusterClient ,
You can’t perform that action at this time.
0 commit comments