Fix non rr_set events in Zone Changelog display (#1598)

This commit is contained in:
Tyler Todd 2023-06-22 12:04:49 -04:00 committed by GitHub
commit 45f1ba7b82
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']: