incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH 2/2] [minor] Fix typo in create blob and remove whitespace
Date Thu, 16 Jun 2011 16:21:12 GMT
From: marios <marios@redhat.com>


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

diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
index c8bf0b2..7829b02 100644
--- a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
+++ b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
@@ -262,7 +262,7 @@ class RackspaceDriver < Deltacloud::BaseDriver
   def create_blob(credentials, bucket_id, blob_id, blob_data, opts={})
     cf = cloudfiles_client(credentials)
     #insert ec2-specific header for user metadata ... X-Object-Meta-KEY = VALUE
-    BlobHelper::rename_metadata_headers(opts, "X-Object-Meta-)"
+    BlobHelper::rename_metadata_headers(opts, "X-Object-Meta-")
     opts['Content-Type'] = blob_data[:type]
     object = nil
     safely do
@@ -422,7 +422,7 @@ private
   exceptions do
 
     on /No offering found/ do
-      status 400 
+      status 400
     end
 
     on /Authentication failed/ do
-- 
1.7.3.4


Mime
View raw message