mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
[e2epod] wait: Don't retry on 50X errors
This commit is contained in:
parent
c809129f2c
commit
55ec0f2d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ func shouldRetry(err error) (retry bool, retryAfter time.Duration) {
|
|||
}
|
||||
|
||||
// these errors indicate a transient error that should be retried.
|
||||
if apierrors.IsInternalError(err) || apierrors.IsTimeout(err) || apierrors.IsTooManyRequests(err) {
|
||||
if apierrors.IsTimeout(err) || apierrors.IsTooManyRequests(err) {
|
||||
return true, 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue