Skip to content

Commit 87f0c79

Browse files
author
Mihail Tsonev
authored
Merge pull request #17 from mptsonev/master
Remove binaries from debug log and retry 4xx errors
2 parents 5e256c6 + 8e1b5d5 commit 87f0c79

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

build.sh

100644100755
File mode changed.

clients/baseclient/client_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func shouldRetry(err error) bool {
3131
if ok {
3232
httpCode := ae.Code
3333
httpCodeMajorDigit := httpCode / 100
34-
if httpCodeMajorDigit == 5 {
34+
if httpCodeMajorDigit == 5 || httpCodeMajorDigit == 4 {
3535
return true
3636
}
3737
}

vendor/github.com/go-openapi/runtime/client/runtime.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)