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(storage): delete file if key not found on download #652

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

lawmicha
Copy link
Contributor

Issue #, if available:
#285

Description of changes:
When downloading to file using TransferUtility, and the key cannot be found in S3, the file is populated with the error message from the response. This ensures that the behavior is, when key is not found, the file is removed so there isn't incorrect data like the error message

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lawmicha lawmicha requested a review from drochetti July 17, 2020 20:46
@drochetti drochetti added the storage Issues related to the Storage category label Jul 18, 2020
@drochetti drochetti added this to the 1.0.5 milestone Jul 18, 2020
Copy link
Contributor

@drochetti drochetti left a comment

Choose a reason for hiding this comment

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

nice! 🚀

@lawmicha lawmicha merged commit 65757ce into main Jul 20, 2020
@lawmicha lawmicha deleted the fix/storage-delete branch July 20, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage Issues related to the Storage category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants