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

fixup 2cdaee68, use s3.HeadObject instead of s3.GetObjectAttributes #643

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

Feder1co5oave
Copy link
Contributor

In my previous PR GetObjectAttributes is used incorrectly (a required argument is missing), and throws an error on the first object when deleting a remote backup on a versioned S3 bucket.

Here HeadObject is used instead, which is the recommended method to retrieve the current version ID of a versioned object.
I was able to test locally that it works correctly on a versioned bucket.

This replaces #637

@Slach Slach merged commit 4d8d45d into Altinity:master Apr 21, 2023
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.

2 participants