Skip to content

Commit 89c6257

Browse files
rohanKanojiadkwon17
authored andcommitted
chore : remove outdated comment regarding cache.SelectorsByObject
Signed-off-by: Rohan Kumar <[email protected]>
1 parent 52eb68e commit 89c6257

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/cache/cache.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ func GetCacheFunc() (cache.NewCacheFunc, error) {
9595
}
9696

9797
if infrastructure.IsOpenShift() {
98-
// Annoying quirk: cache.SelectorsByObject uses an internal struct for values (internal.Selector)
99-
// so we _can't_ just add Routes here since we cannot initialize the corresponding value.
10098
selectors[&routev1.Route{}] = cache.ByObject{Label: devworkspaceObjectSelector}
10199
}
102100

0 commit comments

Comments
 (0)