grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 29 forks source link

Address empty list objects calls #9

Closed oleiade closed 2 years ago

oleiade commented 2 years ago

This PR addresses #8, and ensures that S3Client.listObjects calls go through successfully.

Because previously the optional prefix parameter would hold undefined instead of an empty string when not set, it would end up causing the list object to call to request objects with the undefined prefix, which, of course, would return an empty Array.

closes #8