Skip to content

Commit

Permalink
Enable builds with go1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Dec 29, 2018
1 parent c085651 commit 647a969
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,9 +9,9 @@ env:
- ARCH=i686

go:
- 1.7.4
- 1.8.x
- 1.9.x
- 1.11.x
- tip

matrix:
Expand Down
2 changes: 1 addition & 1 deletion retry.go
Expand Up @@ -139,7 +139,7 @@ func isS3CodeRetryable(s3Code string) (ok bool) {

// List of HTTP status codes which are retryable.
var retryableHTTPStatusCodes = map[int]struct{}{
429: {}, // http.StatusTooManyRequests is not part of the Go 1.5 library, yet
429: {}, // http.StatusTooManyRequests is not part of the Go 1.5 library, yet
http.StatusInternalServerError: {},
http.StatusBadGateway: {},
http.StatusServiceUnavailable: {},
Expand Down

0 comments on commit 647a969

Please sign in to comment.