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
This commit is contained in:
famosss 2022-09-15 15:27:15 +08:00 committed by GitHub
parent 21c0587900
commit bb880d6253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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