File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
reconciler/tenancy/workspacemounts Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ func (c *Controller) enqueuePotentiallyMountResource(gvr schema.GroupVersionReso
280
280
// InstallIndexers adds the additional indexers that this controller requires to the informers.
281
281
func InstallIndexers (
282
282
workspaceInformer tenancyv1alpha1informers.WorkspaceClusterInformer ,
283
- globalWorkspaceInformer tenancyv1alpha1informers.WorkspaceClusterInformer ,
284
283
) {
285
284
indexers .AddIfNotPresentOrDie (workspaceInformer .Informer ().GetIndexer (), cache.Indexers {
286
285
workspaceMountsReferenceIndex : indexWorkspaceByMountObject ,
@@ -289,7 +288,4 @@ func InstallIndexers(
289
288
indexers .AddIfNotPresentOrDie (workspaceInformer .Informer ().GetIndexer (), cache.Indexers {
290
289
workspaceByURL : indexWorkspaceByURL ,
291
290
})
292
- indexers .AddIfNotPresentOrDie (globalWorkspaceInformer .Informer ().GetIndexer (), cache.Indexers {
293
- workspaceByURL : indexWorkspaceByURL ,
294
- })
295
291
}
Original file line number Diff line number Diff line change @@ -1645,7 +1645,6 @@ func (s *Server) addIndexersToInformers(_ context.Context) map[schema.GroupVersi
1645
1645
)
1646
1646
workspacemounts .InstallIndexers (
1647
1647
s .KcpSharedInformerFactory .Tenancy ().V1alpha1 ().Workspaces (),
1648
- s .CacheKcpSharedInformerFactory .Tenancy ().V1alpha1 ().Workspaces (),
1649
1648
)
1650
1649
extraannotationsync .InstallIndexers (
1651
1650
s .KcpSharedInformerFactory .Apis ().V1alpha2 ().APIExports (),
You can’t perform that action at this time.
0 commit comments