1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Bugfix in Fog::DNS::AWS::Records.all!

If we have more than 100 AWS records, this method returns different
results if called twice. So we should reset attributes before each call.
This commit is contained in:
Alexander Kolesen 2012-06-30 23:51:24 +03:00
parent c2ed3c886d
commit 8140d122de

View file

@ -44,6 +44,11 @@ module Fog
def all! def all!
data = [] data = []
merge_attributes({'NextRecordName' => nil,
'NextRecordType' => nil,
'NextRecordIdentifier' => nil,
'IsTruncated' => nil})
begin begin
options = { options = {
:name => next_record_name, :name => next_record_name,