forked from marcel/aws-s3
-
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.
Use the options passed to S3Object.copy, supporting reduced redundancy
I need to enable reduced redundancy on some existing S3 objects. The typical way to do this is copy the object within S3, supplying the new storage-class (reduced redundancy) as an option to the copy. However, aws-s3 is ignoring the copy options, instead only using the default_options to specify the copy-source. Update the copy method to merge the copy-source options with the passed options, so that storage-class can be specified.
- Loading branch information
Marcel M. Cary
committed
Nov 9, 2011
1 parent
5cd500f
commit bd25b25
Showing
2 changed files
with
16 additions
and
1 deletion.
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