mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
Fix non rr_set events in Zone Changelog display (#1598)
This commit is contained in:
commit
45f1ba7b82
@ -119,6 +119,9 @@ def extract_changelogs_from_history(histories, record_name=None, record_type=Non
|
||||
for entry in histories:
|
||||
changes = []
|
||||
|
||||
if entry.detail is None:
|
||||
continue
|
||||
|
||||
if "add_rrsets" in entry.detail:
|
||||
details = json.loads(entry.detail)
|
||||
if not details['add_rrsets'] and not details['del_rrsets']:
|
||||
|
Loading…
Reference in New Issue
Block a user