aboutsummaryrefslogtreecommitdiff
path: root/weed/remote_storage/s3/storj.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/remote_storage/s3/storj.go')
-rw-r--r--weed/remote_storage/s3/storj.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/remote_storage/s3/storj.go b/weed/remote_storage/s3/storj.go
index 058009729..9e902515a 100644
--- a/weed/remote_storage/s3/storj.go
+++ b/weed/remote_storage/s3/storj.go
@@ -30,9 +30,9 @@ func (s StorjRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_storag
secretKey := util.Nvl(conf.StorjSecretKey, os.Getenv("AWS_SECRET_ACCESS_KEY"))
config := &aws.Config{
- Endpoint: aws.String(conf.StorjEndpoint),
- Region: aws.String("us-west-2"),
- S3ForcePathStyle: aws.Bool(true),
+ Endpoint: aws.String(conf.StorjEndpoint),
+ Region: aws.String("us-west-2"),
+ S3ForcePathStyle: aws.Bool(true),
S3DisableContentMD5Validation: aws.Bool(true),
}
if accessKey != "" && secretKey != "" {