aboutsummaryrefslogtreecommitdiff
path: root/weed/remote_storage/s3/filebase.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/remote_storage/s3/filebase.go')
-rw-r--r--weed/remote_storage/s3/filebase.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/remote_storage/s3/filebase.go b/weed/remote_storage/s3/filebase.go
index e52c0be6e..fd5200f1a 100644
--- a/weed/remote_storage/s3/filebase.go
+++ b/weed/remote_storage/s3/filebase.go
@@ -31,9 +31,9 @@ func (s FilebaseRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_sto
secretKey := util.Nvl(conf.FilebaseSecretKey, os.Getenv("AWS_SECRET_ACCESS_KEY"))
config := &aws.Config{
- Endpoint: aws.String(conf.FilebaseEndpoint),
- Region: aws.String("us-east-1"),
- S3ForcePathStyle: aws.Bool(true),
+ Endpoint: aws.String(conf.FilebaseEndpoint),
+ Region: aws.String("us-east-1"),
+ S3ForcePathStyle: aws.Bool(true),
S3DisableContentMD5Validation: aws.Bool(true),
}
if accessKey != "" && secretKey != "" {