mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|dns] fix capitilization for records#all options
This commit is contained in:
parent
ca09023931
commit
71d52a51bf
1 changed files with 3 additions and 3 deletions
|
@ -20,9 +20,9 @@ module Fog
|
|||
|
||||
def all(options = {})
|
||||
requires :zone
|
||||
options['MaxItems'] ||= max_items
|
||||
options['Name'] ||= name
|
||||
options['Type'] ||= type
|
||||
options['maxitems'] ||= max_items
|
||||
options['name'] ||= name
|
||||
options['type'] ||= type
|
||||
data = connection.list_resource_record_sets(zone.id, options).body
|
||||
merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType'].include?(key)})
|
||||
# leave out the default, read only records
|
||||
|
|
Loading…
Reference in a new issue