Skip to content

Commit 24812a3

Browse files
committed
Remove delegating map impl, and simplify InformersMap
Signed-off-by: Vince Prignano <[email protected]>
1 parent 67c79f0 commit 24812a3

File tree

4 files changed

+239
-328
lines changed

4 files changed

+239
-328
lines changed

pkg/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func New(config *rest.Config, opts Options) (Cache, error) {
174174
if err != nil {
175175
return nil, err
176176
}
177-
transformByObj := internal.TransformFuncByObjectFromMap(transformByGVK)
177+
transformByObj := internal.TransformFuncByGVKFromMap(transformByGVK)
178178

179179
internalSelectorsByGVK := internal.SelectorsByGVK{}
180180
for gvk, selector := range selectorsByGVK {

pkg/cache/internal/deleg_map.go

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)