From a811ae0c5cf40729c9ac011ee4f27fd49f997b38 Mon Sep 17 00:00:00 2001 From: Milad Rastian Date: Wed, 24 Jun 2015 19:13:10 +0800 Subject: [PATCH] list_hosted_zones expects to options to be hash with symbol as key If the hash key is string it won't get applied in list_hosted_zones. --- lib/fog/aws/models/dns/zones.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/aws/models/dns/zones.rb b/lib/fog/aws/models/dns/zones.rb index 69568d13a..3abe4a730 100644 --- a/lib/fog/aws/models/dns/zones.rb +++ b/lib/fog/aws/models/dns/zones.rb @@ -10,8 +10,8 @@ module Fog model Fog::DNS::AWS::Zone def all(options = {}) - options['marker'] ||= marker - options['maxitems'] ||= max_items + options[:marker] ||= marker + options[:maxitems] ||= max_items data = service.list_hosted_zones(options).body['HostedZones'] load(data) end