incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1187439 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
Date Fri, 21 Oct 2011 16:11:13 GMT
Author: marios
Date: Fri Oct 21 16:11:12 2011
New Revision: 1187439

URL: http://svn.apache.org/viewvc?rev=1187439&view=rev
Log:
Fix typo in rackspace bucket conversion (was missing bucket size)

Signed-off-by: marios <marios@redhat.com>

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=1187439&r1=1187438&r2=1187439&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 Oct 21 16:11:12 2011
@@ -366,10 +366,11 @@ private
   end
 
   def convert_container(cf_container)
+    blob_list=cf_container.objects
     Bucket.new({ :id => cf_container.name,
                     :name => cf_container.name,
-                    :size => cf_container.count,
-                    :blob_list => cf_container.objects
+                    :size => blob_list.size,
+                    :blob_list => blob_list
                  })
   end
 



Mime
View raw message