bundles/icinga2: no need to do metadata.copy() here
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-23 09:11:18 +01:00
parent 717159b61f
commit c5109fbfe3
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -290,7 +290,7 @@ for n in monitored_nodes[:]:
bundle_metadata = {}
for monitored_node in monitored_nodes:
node_metadata = monitored_node.metadata.copy()
node_metadata = monitored_node.metadata
for bundle, config in sorted(node_metadata.get('icinga2_api', {}).items()):
if bundle not in bundle_metadata: