Skip to content

Commit

Permalink
Merge pull request #17 from mptsonev/master
Browse files Browse the repository at this point in the history
Remove binaries from debug log and retry 4xx errors
  • Loading branch information
Mihail Tsonev authored Mar 6, 2018
2 parents 5e256c6 + 8e1b5d5 commit 87f0c79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Empty file modified build.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion clients/baseclient/client_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func shouldRetry(err error) bool {
if ok {
httpCode := ae.Code
httpCodeMajorDigit := httpCode / 100
if httpCodeMajorDigit == 5 {
if httpCodeMajorDigit == 5 || httpCodeMajorDigit == 4 {
return true
}
}
Expand Down
3 changes: 2 additions & 1 deletion vendor/github.com/go-openapi/runtime/client/runtime.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87f0c79

Please sign in to comment.