mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-04-21 02:57:31 +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:
|
for entry in histories:
|
||||||
changes = []
|
changes = []
|
||||||
|
|
||||||
|
if entry.detail is None:
|
||||||
|
continue
|
||||||
|
|
||||||
if "add_rrsets" in entry.detail:
|
if "add_rrsets" in entry.detail:
|
||||||
details = json.loads(entry.detail)
|
details = json.loads(entry.detail)
|
||||||
if not details['add_rrsets'] and not details['del_rrsets']:
|
if not details['add_rrsets'] and not details['del_rrsets']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user