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

Fix typo in IsRetryableError

parent c40276b1
Branches
Tags v1.45.0
No related merge requests found
......@@ -254,7 +254,7 @@ func IsRetryableError(err error) bool {
}
// 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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment