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

layer: Return error if object locked #992

Conversation

smallhive
Copy link
Contributor

Close #985.

Close #985.

Signed-off-by: Evgenii Baidakov <[email protected]>
Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the test is green now, although I don't completely understand why this is a fix.

@roman-khimov roman-khimov merged commit 493cdba into master Aug 29, 2024
15 of 16 checks passed
@roman-khimov roman-khimov deleted the 985-put-object-legal-hold-doesnt-prevent-objects-from-deletion branch August 29, 2024 07:56
@smallhive
Copy link
Contributor Author

The devil in the details. The test expects an error in response if an object is locked, we return an error

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.

put-object-legal-hold doesnt prevent objects from deletion
2 participants