From 5db9f4cbb7179b3d878557360aed4102bba3cafc Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Sun, 2 Sep 2012 13:05:35 +0100 Subject: [PATCH] [AWS|Glacier] fix setting description on multipart upload --- lib/fog/aws/models/glacier/archive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/models/glacier/archive.rb b/lib/fog/aws/models/glacier/archive.rb index fc2396790..9462dc9fa 100644 --- a/lib/fog/aws/models/glacier/archive.rb +++ b/lib/fog/aws/models/glacier/archive.rb @@ -41,7 +41,7 @@ module Fog def multipart_save # 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"] hash = Fog::AWS::Glacier::TreeHash.new