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:
parent
f25ec9c719
commit
a811ae0c5c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue