aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorFeng Ye <fengye87.me@gmail.com>2019-07-31 14:36:17 +0800
committerFeng Ye <fengye87.me@gmail.com>2019-07-31 14:36:17 +0800
commita435ba2b7f2166db5cc684c255e77b52704cdb5d (patch)
tree65eca4b095e3777b07769d5ffab3a53900abfa05 /weed
parent7df5f9a70fe63ba7fa3b25d665ede4542d9dc8ea (diff)
downloadseaweedfs-a435ba2b7f2166db5cc684c255e77b52704cdb5d.tar.xz
seaweedfs-a435ba2b7f2166db5cc684c255e77b52704cdb5d.zip
Use master branch of github.com/satori/go.uuid
Diffstat (limited to 'weed')
-rw-r--r--weed/s3api/filer_multipart.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.go
index 44416a514..c8fe05645 100644
--- a/weed/s3api/filer_multipart.go
+++ b/weed/s3api/filer_multipart.go
@@ -23,7 +23,7 @@ type InitiateMultipartUploadResult struct {
}
func (s3a *S3ApiServer) createMultipartUpload(ctx context.Context, input *s3.CreateMultipartUploadInput) (output *InitiateMultipartUploadResult, code ErrorCode) {
- uploadId := uuid.NewV4()
+ uploadId, _ := uuid.NewV4()
uploadIdString := uploadId.String()
if err := s3a.mkdir(ctx, s3a.genUploadsFolder(*input.Bucket), uploadIdString, func(entry *filer_pb.Entry) {