This commit is contained in:
mwiegand 2021-10-09 15:52:45 +02:00
parent bd7a9c644e
commit 5479f44b56

View file

@ -58,7 +58,7 @@ def collect_records(metadata):
zones = {}
for other_node in repo.nodes:
for fqdn, records in other_node.metadata.get('dns').items():
for fqdn, records in other_node.metadata.get('dns', {}).items():
matching_zones = sorted(
filter(
lambda potential_zone: fqdn.endswith(potential_zone),