mirror of https://github.com/kubernetes/kops.git
commit
413d3ed25a
|
|
@ -251,7 +251,7 @@ func (r *RollingUpdateInstanceGroup) ValidateClusterWithDuration(rollingUpdateDa
|
||||||
select {
|
select {
|
||||||
case <-timeout:
|
case <-timeout:
|
||||||
// Got a timeout fail with a timeout error
|
// Got a timeout fail with a timeout error
|
||||||
return fmt.Errorf("cluster did not validate within a duation of %q", duration)
|
return fmt.Errorf("cluster did not validate within a duration of %q", duration)
|
||||||
case <-tick:
|
case <-tick:
|
||||||
// Got a tick, validate cluster
|
// Got a tick, validate cluster
|
||||||
if r.tryValidateCluster(rollingUpdateData, cluster, instanceGroupList, duration, tickDuration) {
|
if r.tryValidateCluster(rollingUpdateData, cluster, instanceGroupList, duration, tickDuration) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue