mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
e2e: set default timeout on Client
This commit is contained in:
parent
915bc04488
commit
11f3785023
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user