vendor: Update minio-go to bring #619 fix (#2066)

https://github.com/minio/minio-go/pull/619
This commit is contained in:
Anis Elleuch
2017-03-09 22:15:34 +01:00
committed by GitHub
parent 53cb92038a
commit 22ab1c4901
2 changed files with 9 additions and 4 deletions
+6 -1
View File
@@ -588,7 +588,7 @@ func (c Client) newRequest(method string, metadata requestMetadata) (req *http.R
}
// Initialize a new HTTP request for the method.
req, err = http.NewRequest(method, targetURL.String(), metadata.contentBody)
req, err = http.NewRequest(method, targetURL.String(), nil)
if err != nil {
return nil, err
}
@@ -608,6 +608,11 @@ func (c Client) newRequest(method string, metadata requestMetadata) (req *http.R
return req, nil
}
// Set content body if available.
if metadata.contentBody != nil {
req.Body = ioutil.NopCloser(metadata.contentBody)
}
// FIXME: Enable this when Google Cloud Storage properly supports 100-continue.
// Skip setting 'expect' header for Google Cloud Storage, there
// are some known issues - https://github.com/restic/restic/issues/520
+3 -3
View File
@@ -50,10 +50,10 @@
"revisionTime": "2015-10-24T22:24:27-07:00"
},
{
"checksumSHA1": "InJ8MZLIDbv2KJk2tiyHUHOuRHE=",
"checksumSHA1": "rLcqRbRw+5GWQnL9fuvvVvlMCjo=",
"path": "github.com/minio/minio-go",
"revision": "7a3619e41885dcbcfafee193c10eb80530c2be53",
"revisionTime": "2017-02-17T20:03:45Z"
"revision": "d64c0f6ad35d282c21af6f3d735d07ce7ac579e3",
"revisionTime": "2017-03-09T20:51:21Z"
},
{
"checksumSHA1": "qTxOBp3GVxCC70ykb7Hxg6UgWwA=",