1
0
Fork 0
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:
Wesley Beary 2013-11-27 15:53:06 -08:00
commit 89b5edb36b

View file

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