mirror of
https://github.com/rancher/rke.git
synced 2025-09-06 17:30:20 +00:00
[v1.4.19] s4: Fix 478
This commit is contained in:
committed by
Bruno Bachmann
parent
589cb504a2
commit
f7485b8dce
@@ -560,7 +560,7 @@ func (c *Cluster) StoreAddonConfigMap(ctx context.Context, addonYaml string, add
|
||||
select {
|
||||
case <-timeout:
|
||||
return updated, nil
|
||||
case <-time.After(time.Second * UpdateStateTimeout):
|
||||
case <-time.After(UpdateStateTimeout):
|
||||
return updated, fmt.Errorf("[addons] Timeout waiting for kubernetes to be ready")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user