Merge pull request #3847 from aaronlehmann/s3-pagination-loop
Fix S3 multipart upload pagination loop condition
This commit is contained in:
commit
e5d5810851
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ func (d *driver) Writer(ctx context.Context, path string, appendParam bool) (sto
|
|||
return nil, parseError(path, err)
|
||||
}
|
||||
allParts = append(allParts, partsList.Parts...)
|
||||
for *resp.IsTruncated {
|
||||
for *partsList.IsTruncated {
|
||||
partsList, err = d.S3.ListParts(&s3.ListPartsInput{
|
||||
Bucket: aws.String(d.Bucket),
|
||||
Key: aws.String(key),
|
||||
|
|
Loading…
Reference in a new issue