From 445ffc75b343a4c220804600850d006cabdf7388 Mon Sep 17 00:00:00 2001 From: geemus Date: Sat, 30 Nov 2013 10:24:00 -0600 Subject: [PATCH] fix for broken AWS records tests see #2439 --- lib/fog/aws/models/dns/records.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/models/dns/records.rb b/lib/fog/aws/models/dns/records.rb index 268a7fb14..f0cffb87b 100644 --- a/lib/fog/aws/models/dns/records.rb +++ b/lib/fog/aws/models/dns/records.rb @@ -33,7 +33,7 @@ module Fog data['NextRecordIdentifier'] = nil unless data.has_key?('NextRecordIdentifier') merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType', 'NextRecordIdentifier'].include?(key)}) - load(data) + load(data['ResourceRecordSets']) end #