mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2439 from CpuID/master
return NS and SOA records - https://github.com/fog/fog/issues/2419
This commit is contained in:
commit
89b5edb36b
1 changed files with 0 additions and 2 deletions
|
@ -33,8 +33,6 @@ module Fog
|
|||
data['NextRecordIdentifier'] = nil unless data.has_key?('NextRecordIdentifier')
|
||||
|
||||
merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType', 'NextRecordIdentifier'].include?(key)})
|
||||
# leave out the default, read only records
|
||||
data = data['ResourceRecordSets'].reject {|record| ['NS', 'SOA'].include?(record['Type'])}
|
||||
load(data)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue