1
0
Fork 0
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:
Frederick Cheung 2012-09-02 13:05:35 +01:00
parent 28add36257
commit 5db9f4cbb7

View file

@ -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