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/pkg/s3utils/utils.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'vendor/github.com/minio/minio-go/pkg/s3utils/utils.go') 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 { -- cgit v1.2.3-1-g7c22