mirror of https://github.com/kubernetes/kops.git
Merge pull request #6260 from justinsb/log_clearly_when_retry_fails
Always log when a retry loop fails
This commit is contained in:
commit
7af77bb79c
|
|
@ -228,7 +228,7 @@ func RetryWithBackoff(backoff wait.Backoff, condition func() (bool, error)) (boo
|
||||||
}
|
}
|
||||||
|
|
||||||
if noMoreRetries {
|
if noMoreRetries {
|
||||||
glog.V(2).Infof("hit maximum retries %d with error %v", i, err)
|
glog.Infof("hit maximum retries %d with error %v", i, err)
|
||||||
return done, err
|
return done, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue