Skip to content

Commit

Permalink
Merge pull request #13 from netlogix/bugfix/existing-resource-pagination
Browse files Browse the repository at this point in the history
BUGFIX: Fix fetching more than 1000 existing resources on publish
  • Loading branch information
kdambekalns authored Jan 10, 2018
2 parents 5d14875 + 7d9d427 commit 7c03dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/S3Target.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function publishCollection(CollectionInterface $collection)
$result = $this->s3Client->listObjects($requestArguments);
$this->existingObjectsInfo[] = $result->get('Contents');
if ($result->get('IsTruncated')) {
$requestArguments['marker'] = $result->get('NextMarker');
$requestArguments['Marker'] = $result->get('NextMarker');
}
} while ($result->get('IsTruncated'));
}
Expand Down

0 comments on commit 7c03dfa

Please sign in to comment.