Remove S3 retrying client which is leftover from goamz times.

Also workaround go vet warnings in s3/sever_test.go
This commit is contained in:
Andrey Smirnov
2016-02-18 12:03:04 +03:00
parent ffafed472c
commit 505da096e6
3 changed files with 23 additions and 145 deletions
+1 -2
View File
@@ -69,8 +69,7 @@ func NewPublishedStorage(accessKey, secretKey, sessionToken, region, endpoint, b
storageClass, encryptionMethod string, plusWorkaround, disableMultiDel bool) (*PublishedStorage, error) {
config := &aws.Config{
HTTPClient: RetryingClient,
Region: aws.String(region),
Region: aws.String(region),
}
if endpoint != "" {