We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51d017 commit be98f83Copy full SHA for be98f83
pkg/client/restclientgetter.go
@@ -48,7 +48,7 @@ type restClientGetter struct {
48
}
49
50
func (c *restClientGetter) ToRESTConfig() (*rest.Config, error) {
51
- return c.restConfig, nil
+ return rest.CopyConfig(c.restConfig), nil
52
53
54
func (c *restClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) {
0 commit comments