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 listobjects_v2.go logic of extracting key #16

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Fix listobjects_v2.go logic of extracting key #16

merged 1 commit into from
Jul 17, 2024

Conversation

tttol
Copy link
Owner

@tttol tttol commented Jul 17, 2024

I fixed an issue where the key values in the response from the AWS SDK's ListObjectV2 request included the bucket name. Now, the bucket name is removed from the key.

BEFORE: "upload/files/dir1/aaa.txt" -> "test-bucket/dir1/aaa.txt"
AFTER: "upload/files/dir1/aaa.txt" -> "dir1/aaa.txt"

@tttol tttol merged commit c617f73 into main Jul 17, 2024
1 check passed
@tttol tttol deleted the fix-ls-key branch July 17, 2024 22:41
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.

1 participant