Fix non rr_set events in Zone Changelog display

This will resolve #1566
This commit is contained in:
Tyler Todd 2023-06-22 12:03:42 -04:00 committed by GitHub
parent 8b51313027
commit 08c39c64c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']: