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: Modified DeleteObject error handling to return a successful resp… #847

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

0x180
Copy link
Contributor

@0x180 0x180 commented Sep 26, 2024

Fixes #834
Fixes #842

Consider the versioning is enabled in the bucket:
When attempting to delete a non-existing object without specifying versionId, DeleteObject should return successful response.
If versionId is specified and the object version doesn't exist, it should return InvalidVersionId error.

…onse when versionId is not specified, and to return InvalidVersionId error when it is specified, in cases where versioning is enabled.
@benmcclelland benmcclelland merged commit 44d51b7 into main Sep 26, 2024
20 checks passed
@benmcclelland benmcclelland deleted the fix/versioning-delete_object-nonexistent branch September 26, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants