lib/fog/storage/requests/rackspace/get_container.rb in fog-0.4.1 vs lib/fog/storage/requests/rackspace/get_container.rb in fog-0.5.0

- old
+ new

@@ -27,9 +27,10 @@ # * 'content_type'<~String> Content-Type of object # * 'hash'<~String> - Hash of object (etag?) # * 'last_modified'<~String> - Last modified timestamp # * 'name'<~String> - Name of object def get_container(container, options = {}) + options = options.reject {|key, value| value.nil?} response = request( :expects => 200, :method => 'GET', :path => container, :query => {'format' => 'json'}.merge!(options)