1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

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.
This commit is contained in:
Milad Rastian 2015-06-24 19:13:10 +08:00
parent f25ec9c719
commit a811ae0c5c

View file

@ -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