mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
remove RESTClient.Timeout
This commit is contained in:
@@ -879,9 +879,6 @@ func loadClient() (*client.Client, error) {
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error creating client: %v", err.Error())
|
||||
}
|
||||
if c.Timeout == 0 {
|
||||
c.Timeout = singleCallTimeout
|
||||
}
|
||||
return c, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user