mirror of
https://github.com/rancher/norman.git
synced 2025-09-13 13:50:16 +00:00
Adding code to address aks timeout issue
This commit is contained in:
committed by
Craig Jellick
parent
9ba19df9be
commit
61998c76e3
@@ -21,7 +21,7 @@ func UnversionedRESTClientFor(config *rest.Config) (rest.Interface, error) {
|
||||
}
|
||||
|
||||
newConfig := *config
|
||||
newConfig.Timeout = time.Hour
|
||||
newConfig.Timeout = 30 * time.Minute
|
||||
watchClient, err := rest.UnversionedRESTClientFor(&newConfig)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user