aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-01 02:45:42 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-01 02:45:42 -0700
commit7ce97b59d828b3f6d7bcdab323209740280da3f3 (patch)
treeb4f50634e183c2bc8ba897baefbf3d62731bf9f8 /weed/replication/sink
parentd1a4e19a3f0aeaabcf87aba3c99880f82bde87a3 (diff)
downloadseaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.tar.xz
seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.zip
go fmt
Diffstat (limited to 'weed/replication/sink')
-rw-r--r--weed/replication/sink/s3sink/s3_sink.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.go
index 81cb87a18..c3da1ee3f 100644
--- a/weed/replication/sink/s3sink/s3_sink.go
+++ b/weed/replication/sink/s3sink/s3_sink.go
@@ -74,9 +74,9 @@ func (s3sink *S3Sink) initialize(awsAccessKeyId, awsSecretAccessKey, region, buc
s3sink.endpoint = endpoint
config := &aws.Config{
- Region: aws.String(s3sink.region),
- Endpoint: aws.String(s3sink.endpoint),
- S3ForcePathStyle: aws.Bool(true),
+ Region: aws.String(s3sink.region),
+ Endpoint: aws.String(s3sink.endpoint),
+ S3ForcePathStyle: aws.Bool(true),
S3DisableContentMD5Validation: aws.Bool(true),
}
if awsAccessKeyId != "" && awsSecretAccessKey != "" {