From 1fd4b177d8e910b6f1a8d91b34a04c3c591ef137 Mon Sep 17 00:00:00 2001 From: Nathan Sullivan Date: Thu, 28 Nov 2013 09:01:58 +1000 Subject: [PATCH] return NS and SOA records as per https://github.com/fog/fog/issues/2419 - this allows us to work with NS subdelegations, as well as the NS and SOA records while the type can't be changed, the values and TTLs can be --- lib/fog/aws/models/dns/records.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/fog/aws/models/dns/records.rb b/lib/fog/aws/models/dns/records.rb index 00a840047..268a7fb14 100644 --- a/lib/fog/aws/models/dns/records.rb +++ b/lib/fog/aws/models/dns/records.rb @@ -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