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: Read "404" as object not exist #13901

Merged
merged 2 commits into from
Aug 15, 2024
Merged

fix: Read "404" as object not exist #13901

merged 2 commits into from
Aug 15, 2024

Conversation

DylanGuedes
Copy link
Contributor

What this PR does / why we need it:
Modify the s3 client to recognize "NotFound" errors when checking if an object error is "NotFound".
I did some tests locally and Head calls to objects that doesn't exist gives a "NotFound" instead of "NoSuchKey".

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

@DylanGuedes DylanGuedes requested a review from a team as a code owner August 15, 2024 15:38
@DylanGuedes DylanGuedes changed the title Read "404" as object not exist fix: Read "404" as object not exist Aug 15, 2024
@DylanGuedes DylanGuedes merged commit 3c9c647 into main Aug 15, 2024
63 checks passed
@DylanGuedes DylanGuedes deleted the treat-404-as-not-found branch August 15, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants