incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH 2/4] [minor] Fix typo in client bucket method params
Date Fri, 24 Jun 2011 16:10:20 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 client/lib/client_bucket_methods.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/lib/client_bucket_methods.rb b/client/lib/client_bucket_methods.rb
index cc7dcff..edca0a7 100644
--- a/client/lib/client_bucket_methods.rb
+++ b/client/lib/client_bucket_methods.rb
@@ -27,7 +27,7 @@ module ClientBucketMethods
       end
       headers = headers.merge(metadata_headers)
     end
-    resource.send(:post, {:blob_data => File.new(params['file_path'], 'rb'), :blob_id
=> params[:id]}, headers) do |response, request, block|
+    resource.send(:post, {:blob_data => File.new(params['file_path'], 'rb'), :blob =>
params[:id]}, headers) do |response, request, block|
       handle_backend_error(response) if response.code.eql?(500)
       blob = base_object(:blob, response)
       yield blob if block_given?
@@ -51,4 +51,4 @@ module ClientBucketMethods
     end
   end
 
-end
\ No newline at end of file
+end
-- 
1.7.3.4


Mime
View raw message