incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1139339 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
Date Fri, 24 Jun 2011 14:48:16 GMT
Author: marios
Date: Fri Jun 24 14:48:15 2011
New Revision: 1139339

URL: http://svn.apache.org/viewvc?rev=1139339&view=rev
Log:
[minor] Fix typo in create blob and remove whitespace

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb?rev=1139339&r1=1139338&r2=1139339&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
(original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
Fri Jun 24 14:48:15 2011
@@ -262,7 +262,7 @@ class RackspaceDriver < Deltacloud::Base
   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



Mime
View raw message