mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Merge pull request #20320 from caesarxuchao/add-discovery
Auto commit by PR queue bot
This commit is contained in:
@@ -150,7 +150,7 @@ func New(c *Config) (*Client, error) {
|
||||
}
|
||||
|
||||
discoveryConfig := *c
|
||||
discoveryClient, err := NewDiscoveryClient(&discoveryConfig)
|
||||
discoveryClient, err := NewDiscoveryClientForConfig(&discoveryConfig)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user