-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s3store: Use DeleteObject and GetObject to fix IAM issues for incompl…
…ete parts (tus#233) * Use GetObject instead of HeadObject to locate incomplete part This avoids confusion around the errors that are returned by HeadObject, especially when the request has limited permissions for the bucket. * Remove unused HeadObject function * Add DeleteObject to S3API interface * Use DeleteObject to remove .part objects * Update tests
- Loading branch information
Showing
3 changed files
with
50 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters