[e2epod] wait: Don't retry on 50X errors

This commit is contained in:
Tim Allclair 2022-07-29 14:42:45 -07:00
parent c809129f2c
commit 55ec0f2d9d

View File

@ -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
}