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:
parent
c2ed3c886d
commit
8140d122de
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue