Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use NextMarker if only prefixes are returned #1278

Merged
merged 1 commit into from
Oct 4, 2022
Merged

fix: Use NextMarker if only prefixes are returned #1278

merged 1 commit into from
Oct 4, 2022

Conversation

Fumesover
Copy link
Contributor

Currently, if s3cmd is used to list objects in bucket, and if only CommonPrefixes are returned, the cli will ignore the NextMarker field and will use the last given prefix.

This fix will consider using the NextMarker if it's present, and will fallback on the last given prefix in both cases. Copying the workflow of awscli

@Fumesover Fumesover marked this pull request as draft October 4, 2022 11:33
@Fumesover Fumesover marked this pull request as ready for review October 4, 2022 11:44
@fviard fviard added this to the 2.4.0 milestone Oct 4, 2022
@fviard fviard merged commit 11bf231 into s3tools:master Oct 4, 2022
@fviard
Copy link
Contributor

fviard commented Oct 4, 2022

Merged, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants