File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkg/cvo/internal/dynamicclient Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
"k8s.io/apimachinery/pkg/api/meta"
10
10
11
11
"k8s.io/apimachinery/pkg/runtime/schema"
12
- "k8s.io/client-go/discovery/cached"
12
+ "k8s.io/client-go/discovery/cached/memory "
13
13
"k8s.io/client-go/dynamic"
14
14
"k8s.io/client-go/kubernetes"
15
15
"k8s.io/client-go/rest"
30
30
// Private constructor for once.Do
31
31
func newSingletonFactory (config * rest.Config ) func () {
32
32
return func () {
33
- cachedDiscoveryClient := cached .NewMemCacheClient (kubernetes .NewForConfigOrDie (config ).Discovery ())
33
+ cachedDiscoveryClient := memory .NewMemCacheClient (kubernetes .NewForConfigOrDie (config ).Discovery ())
34
34
restMapper := restmapper .NewDeferredDiscoveryRESTMapper (cachedDiscoveryClient )
35
35
restMapper .Reset ()
36
36
You can’t perform that action at this time.
0 commit comments