ACK. On Oct 20, 2011, at 2:06 PM, mar...@redhat.com wrote:
> From: marios <mar...@redhat.com> > > > Signed-off-by: marios <mar...@redhat.com> > --- > .../drivers/rackspace/rackspace_driver.rb | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb > b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb > index e7c52d7..622e5ec 100644 > --- a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb > +++ b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb > @@ -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 > > -- > 1.7.6.4 > ------------------------------------------------------ Michal Fojtik, mfoj...@redhat.com Deltacloud API: http://deltacloud.org