Skip to content

Commit d212411

Browse files
authored
Merge pull request kubernetes-sigs#635 from DirectXMan12/bug/dont-do-lazy-discovery-by-default
👻 Don't do lazy discovery by default
2 parents befb89e + 3c5a973 commit d212411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func setOptionsDefaults(options Options) Options {
313313

314314
if options.MapperProvider == nil {
315315
options.MapperProvider = func(c *rest.Config) (meta.RESTMapper, error) {
316-
return apiutil.NewDynamicRESTMapper(c, apiutil.WithLazyDiscovery)
316+
return apiutil.NewDynamicRESTMapper(c)
317317
}
318318
}
319319

0 commit comments

Comments
 (0)