Skip to content
Snippets Groups Projects
Commit 24098cfa authored by Francé Wilke's avatar Francé Wilke
Browse files

Fix typo in IsRetryableError

parent c40276b1
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ func IsRetryableError(err error) bool { ...@@ -254,7 +254,7 @@ func IsRetryableError(err error) bool {
} }
// Retry for all except 200s and 400s // Retry for all except 200s and 400s
if code < 200 || (code >= 300 && code < 400) || code > 500 { if code < 200 || (code >= 300 && code < 400) || code >= 500 {
return true return true
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment