From 4ebb28cb24fadcdf0efd3ec6af879c0cf76dd0e2 Mon Sep 17 00:00:00 2001 From: Kevin Menard Date: Tue, 4 Oct 2011 14:47:42 -0400 Subject: [PATCH] We use 'Key' for all S3 objects now. --- lib/fog/aws/requests/storage/copy_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/requests/storage/copy_object.rb b/lib/fog/aws/requests/storage/copy_object.rb index dd7a16d55..ec510cfa6 100644 --- a/lib/fog/aws/requests/storage/copy_object.rb +++ b/lib/fog/aws/requests/storage/copy_object.rb @@ -55,7 +55,7 @@ module Fog response.status = 200 target_object = source_object.dup target_object.merge!({ - 'Name' => target_object_name + 'Key' => target_object_name }) target_bucket[:objects][target_object_name] = target_object response.body = {