mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #14295 from ixdy/e2e-client-timeout
Auto commit by PR queue bot
This commit is contained in:
@@ -834,6 +834,9 @@ 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