diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-07-21 21:51:38 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-07-21 21:51:38 -0700 |
| commit | 862c2cb8e6bcf7e332b8f1cb6b5ec4d0de7bac4e (patch) | |
| tree | 13ef0087778b409f259e9da8debc2651f530b399 /weed/s3api | |
| parent | 79762385bdda8fd6bacc747922b557ccf8c45e74 (diff) | |
| download | seaweedfs-862c2cb8e6bcf7e332b8f1cb6b5ec4d0de7bac4e.tar.xz seaweedfs-862c2cb8e6bcf7e332b8f1cb6b5ec4d0de7bac4e.zip | |
go fmt
Diffstat (limited to 'weed/s3api')
| -rw-r--r-- | weed/s3api/filer_multipart.go | 6 | ||||
| -rw-r--r-- | weed/s3api/filer_util.go | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.go index 4de1dda36..c8fe05645 100644 --- a/weed/s3api/filer_multipart.go +++ b/weed/s3api/filer_multipart.go @@ -101,9 +101,9 @@ func (s3a *S3ApiServer) completeMultipartUpload(ctx context.Context, input *s3.C output = &CompleteMultipartUploadResult{ CompleteMultipartUploadOutput: s3.CompleteMultipartUploadOutput{ Location: aws.String(fmt.Sprintf("http://%s%s/%s", s3a.option.Filer, dirName, entryName)), - Bucket: input.Bucket, - ETag: aws.String("\"" + filer2.ETag(finalParts) + "\""), - Key: objectKey(input.Key), + Bucket: input.Bucket, + ETag: aws.String("\"" + filer2.ETag(finalParts) + "\""), + Key: objectKey(input.Key), }, } diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go index 84e3050cd..1c3814fce 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -151,4 +151,4 @@ func objectKey(key *string) *string { return &t } return key -}
\ No newline at end of file +} |
