From f5437632f486b7d0a0a181c58f113c86d032b02c Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 24 Apr 2017 20:11:36 -0400 Subject: Upgrading server dependancies (#6215) --- vendor/github.com/minio/minio-go/bucket-cache.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'vendor/github.com/minio/minio-go/bucket-cache.go') diff --git a/vendor/github.com/minio/minio-go/bucket-cache.go b/vendor/github.com/minio/minio-go/bucket-cache.go index 46dfe9348..c35e26b7c 100644 --- a/vendor/github.com/minio/minio-go/bucket-cache.go +++ b/vendor/github.com/minio/minio-go/bucket-cache.go @@ -164,13 +164,6 @@ func (c Client) getBucketLocationRequest(bucketName string) (*http.Request, erro // Set get bucket location always as path style. targetURL := c.endpointURL - - // Requesting a bucket location from an accelerate endpoint returns a 400, - // so default to us-east-1 for the lookup - if s3utils.IsAmazonS3AccelerateEndpoint(c.endpointURL) { - targetURL.Host = getS3Endpoint("us-east-1") - } - targetURL.Path = path.Join(bucketName, "") + "/" targetURL.RawQuery = urlValues.Encode() -- cgit v1.2.3-1-g7c22