diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
| commit | 7ce97b59d828b3f6d7bcdab323209740280da3f3 (patch) | |
| tree | b4f50634e183c2bc8ba897baefbf3d62731bf9f8 /weed/remote_storage/s3/tencent.go | |
| parent | d1a4e19a3f0aeaabcf87aba3c99880f82bde87a3 (diff) | |
| download | seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.tar.xz seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.zip | |
go fmt
Diffstat (limited to 'weed/remote_storage/s3/tencent.go')
| -rw-r--r-- | weed/remote_storage/s3/tencent.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/remote_storage/s3/tencent.go b/weed/remote_storage/s3/tencent.go index 9df72a7e2..b7711b956 100644 --- a/weed/remote_storage/s3/tencent.go +++ b/weed/remote_storage/s3/tencent.go @@ -30,9 +30,9 @@ func (s TencentRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_stor secretKey := util.Nvl(conf.TencentSecretKey, os.Getenv("COS_SECRETKEY")) config := &aws.Config{ - Endpoint: aws.String(conf.TencentEndpoint), - Region: aws.String("us-west-2"), - S3ForcePathStyle: aws.Bool(true), + Endpoint: aws.String(conf.TencentEndpoint), + Region: aws.String("us-west-2"), + S3ForcePathStyle: aws.Bool(true), S3DisableContentMD5Validation: aws.Bool(true), } if accessKey != "" && secretKey != "" { |
