lib/fog/aws/requests/compute/describe_images.rb in fog-maestrodev-1.18.0.20131111203459 vs lib/fog/aws/requests/compute/describe_images.rb in fog-maestrodev-1.18.0.20131112185232
- old
+ new
@@ -41,10 +41,10 @@
# {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImages.html]
def describe_images(filters = {})
options = {}
for key in ['ExecutableBy', 'ImageId', 'Owner']
if filters.is_a?(Hash) && filters.key?(key)
- options[key] = filters.delete(key)
+ options.merge!(Fog::AWS.indexed_request_param(key, filters.delete(key)))
end
end
params = Fog::AWS.indexed_filters(filters).merge!(options)
request({
'Action' => 'DescribeImages',