Browse Source

IsTruncated returned by the ListMultipartUploads method is set to false by default (#3682)

* simplify a bit

* fix: IsTruncated returned by the ListMultipartUploads method is set to false by default
pull/3683/head
famosss 2 years ago
committed by GitHub
parent
commit
bb880d6253
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/s3api/filer_multipart.go

1
weed/s3api/filer_multipart.go

@ -244,6 +244,7 @@ func (s3a *S3ApiServer) listMultipartUploads(input *s3.ListMultipartUploadsInput
KeyMarker: input.KeyMarker, KeyMarker: input.KeyMarker,
MaxUploads: input.MaxUploads, MaxUploads: input.MaxUploads,
Prefix: input.Prefix, Prefix: input.Prefix,
IsTruncated: aws.Bool(false),
} }
entries, _, err := s3a.list(s3a.genUploadsFolder(*input.Bucket), "", *input.UploadIdMarker, false, math.MaxInt32) entries, _, err := s3a.list(s3a.genUploadsFolder(*input.Bucket), "", *input.UploadIdMarker, false, math.MaxInt32)

Loading…
Cancel
Save