diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-04-24 20:11:36 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-04-24 20:11:36 -0400 |
commit | f5437632f486b7d0a0a181c58f113c86d032b02c (patch) | |
tree | 407388e3003a210a89f4b2128d7ad656f8b79d26 /vendor/github.com/minio/minio-go/pkg/s3utils/utils.go | |
parent | 7f68a60f8c228d5604e0566bf84cabb145d16c37 (diff) | |
download | chat-f5437632f486b7d0a0a181c58f113c86d032b02c.tar.gz chat-f5437632f486b7d0a0a181c58f113c86d032b02c.tar.bz2 chat-f5437632f486b7d0a0a181c58f113c86d032b02c.zip |
Upgrading server dependancies (#6215)
Diffstat (limited to 'vendor/github.com/minio/minio-go/pkg/s3utils/utils.go')
-rw-r--r-- | vendor/github.com/minio/minio-go/pkg/s3utils/utils.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vendor/github.com/minio/minio-go/pkg/s3utils/utils.go b/vendor/github.com/minio/minio-go/pkg/s3utils/utils.go index ae1cea337..a3b6ed845 100644 --- a/vendor/github.com/minio/minio-go/pkg/s3utils/utils.go +++ b/vendor/github.com/minio/minio-go/pkg/s3utils/utils.go @@ -85,10 +85,6 @@ func IsAmazonEndpoint(endpointURL url.URL) bool { return true } - if IsAmazonS3AccelerateEndpoint(endpointURL) { - return true - } - return endpointURL.Host == "s3.amazonaws.com" } @@ -105,14 +101,6 @@ func IsAmazonChinaEndpoint(endpointURL url.URL) bool { return endpointURL.Host == "s3.cn-north-1.amazonaws.com.cn" } -// IsAmazonS3AccelerateEndpoint - Match if it is an Amazon S3 Accelerate -func IsAmazonS3AccelerateEndpoint(endpointURL url.URL) bool { - if endpointURL == sentinelURL { - return false - } - return endpointURL.Host == "s3-accelerate.amazonaws.com" -} - // IsGoogleEndpoint - Match if it is exactly Google cloud storage endpoint. func IsGoogleEndpoint(endpointURL url.URL) bool { if endpointURL == sentinelURL { |