forked from TrueCloudLab/restic
update s3 library for bugfix
This commit is contained in:
parent
d79c85af62
commit
a73c4bd5a7
11 changed files with 386 additions and 59 deletions
4
Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go
generated
vendored
4
Godeps/_workspace/src/github.com/minio/minio-go/api-put-bucket.go
generated
vendored
|
@ -67,7 +67,7 @@ func (c Client) MakeBucket(bucketName string, acl BucketACL, location string) er
|
|||
}
|
||||
|
||||
// Execute the request.
|
||||
resp, err := c.httpClient.Do(req)
|
||||
resp, err := c.do(req)
|
||||
defer closeResponse(resp)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -201,7 +201,7 @@ func (c Client) SetBucketACL(bucketName string, acl BucketACL) error {
|
|||
}
|
||||
|
||||
// Initiate the request.
|
||||
resp, err := c.httpClient.Do(req)
|
||||
resp, err := c.do(req)
|
||||
defer closeResponse(resp)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue