From f98326ea90e20ffe2cb720ddd7217cc81ccddf35 Mon Sep 17 00:00:00 2001 From: corubba Date: Tue, 24 May 2022 23:45:14 +0200 Subject: [PATCH] Fix remaining typo occurrence --- powerdnsadmin/models/record.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerdnsadmin/models/record.py b/powerdnsadmin/models/record.py index 9929b67..e56a6de 100644 --- a/powerdnsadmin/models/record.py +++ b/powerdnsadmin/models/record.py @@ -359,10 +359,10 @@ class Record(object): # rollback - re-add the removed record if the adding operation is failed. if del_rrsets["rrsets"]: - rollback_rrests = del_rrsets + rollback_rrsets = del_rrsets for r in del_rrsets["rrsets"]: r['changetype'] = 'REPLACE' - rollback = self.apply_rrsets(domain_name, rollback_rrests) + rollback = self.apply_rrsets(domain_name, rollback_rrsets) if 'error' in rollback.keys(): return dict(status='error', msg='Failed to apply changes. Cannot rollback previous failed operation: {}'