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
|
@ -1,4 +1,4 @@
|
|||
DEFAULT -d auto -a -n standby,12
|
||||
% for disk in sorted(node.metadata.get('smartd', {}).get('disks', set())):
|
||||
% for disk in sorted(node.metadata.get('smartd/disks', set())):
|
||||
${disk}
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue