bundles: use metastack syntax for metadata.get()
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
4be912ac31
commit
b06532241b
38 changed files with 58 additions and 58 deletions
|
@ -290,7 +290,7 @@ svc_systemd = {
|
|||
monitored_nodes = repo.nodes
|
||||
|
||||
for n in monitored_nodes[:]:
|
||||
if n.metadata.get('icinga_options', {}).get('exclude_from_monitoring', False):
|
||||
if n.metadata.get('icinga_options/exclude_from_monitoring', False):
|
||||
monitored_nodes.remove(n)
|
||||
|
||||
bundle_metadata = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue