You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2011/10/21 18:11:13 UTC

svn commit: r1187439 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb

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 <ma...@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