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
|
@ -39,7 +39,7 @@ files = {
|
|||
'mode': '0755',
|
||||
'content_type': 'mako',
|
||||
'context': {
|
||||
'api_key': node.metadata.get('octoprint', {}).get('api_key', ''),
|
||||
'api_key': node.metadata.get('octoprint/api_key', ''),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue