mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[AWS|Glacier] fix setting description on multipart upload
This commit is contained in:
parent
28add36257
commit
5db9f4cbb7
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module Fog
|
||||||
|
|
||||||
def multipart_save
|
def multipart_save
|
||||||
# Initiate the upload
|
# Initiate the upload
|
||||||
res = connection.initiate_multipart_upload vault.id, multipart_chunk_size
|
res = connection.initiate_multipart_upload vault.id, multipart_chunk_size, 'description' => description
|
||||||
upload_id = res.headers["x-amz-multipart-upload-id"]
|
upload_id = res.headers["x-amz-multipart-upload-id"]
|
||||||
|
|
||||||
hash = Fog::AWS::Glacier::TreeHash.new
|
hash = Fog::AWS::Glacier::TreeHash.new
|
||||||
|
|
Loading…
Reference in a new issue