Fix mistaken object
The function is called dnspyrecords_to_recordsetlist but we are create a RecordList object. By the way, we are creating too many objects without calling validate(). I think this is reason why we still can create them. Change-Id: I2a655be3cb69afcfa40743b66a15c6e82deead28
This commit is contained in:
parent
9da98b59b2
commit
848096eafb
|
@ -293,7 +293,7 @@ def from_dnspython_zone(dnspython_zone):
|
|||
|
||||
|
||||
def dnspyrecords_to_recordsetlist(dnspython_records):
|
||||
rrsets = objects.RecordList()
|
||||
rrsets = objects.RecordSetList()
|
||||
|
||||
for rname in six.iterkeys(dnspython_records):
|
||||
for rdataset in dnspython_records[rname]:
|
||||
|
|
Loading…
Reference in New Issue