mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
GLCOUD: Retry on 502 errors also (#984)
This commit is contained in:
@ -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.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user