update s3 library for bugfix

This commit is contained in:
Alexander Neumann 2015-12-30 12:19:19 +01:00
parent d79c85af62
commit a73c4bd5a7
11 changed files with 386 additions and 59 deletions

View file

@ -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