mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-06 13:14:25 +08:00
GLCOUD: Retry on 502 errors also (#984)
This commit is contained in:
parent
096458d91c
commit
f32218a2f9
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ func retryNeeded(resp *gdns.Change, err error) bool {
|
|||
}
|
||||
backoff404 = false
|
||||
|
||||
if serr.Code != 429 && serr.Code != 503 {
|
||||
if serr.Code != 429 && serr.Code != 502 && serr.Code != 503 {
|
||||
return false // Not an error that permits retrying.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue