1
0
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:
Tom Limoncelli
2020-12-01 07:07:38 -05:00
committed by GitHub
parent 096458d91c
commit f32218a2f9

View File

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