Skip to content

Commit

Permalink
Merge pull request #635 from DirectXMan12/bug/dont-do-lazy-discovery-…
Browse files Browse the repository at this point in the history
…by-default

👻 Don't do lazy discovery by default
  • Loading branch information
k8s-ci-robot authored Oct 10, 2019
2 parents befb89e + 3c5a973 commit d212411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func setOptionsDefaults(options Options) Options {

if options.MapperProvider == nil {
options.MapperProvider = func(c *rest.Config) (meta.RESTMapper, error) {
return apiutil.NewDynamicRESTMapper(c, apiutil.WithLazyDiscovery)
return apiutil.NewDynamicRESTMapper(c)
}
}

Expand Down

0 comments on commit d212411

Please sign in to comment.