Skip to content

Commit

Permalink
Retry 408 errors (#981)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Apr 14, 2021
1 parent 3259211 commit 591f202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/v1/remote/transport/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ var temporaryErrorCodes = map[ErrorCode]struct{}{
}

var temporaryStatusCodes = map[int]struct{}{
http.StatusRequestTimeout: {},
http.StatusInternalServerError: {},
http.StatusBadGateway: {},
http.StatusServiceUnavailable: {},
Expand Down

0 comments on commit 591f202

Please sign in to comment.