From 553597adada632d320ec190d90b02a74bb1ac92c Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Mon, 16 Dec 2013 17:15:58 -0500 Subject: [PATCH] Don't count the :meta entry as an object. --- lib/fog/rackspace/requests/storage/get_containers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/rackspace/requests/storage/get_containers.rb b/lib/fog/rackspace/requests/storage/get_containers.rb index 8ec1fe85a..9747b0ab2 100644 --- a/lib/fog/rackspace/requests/storage/get_containers.rb +++ b/lib/fog/rackspace/requests/storage/get_containers.rb @@ -44,7 +44,7 @@ module Fog inject(0) { |sum, k| sum + files[k].bytes } results << { "name" => container, - "count" => files.size, + "count" => files.size - 1, "bytes" => total } end