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,5 +1,5 @@
|
|||
users_from_metadata = set()
|
||||
additional_users = node.metadata.get('openssh', {}).get('allowed_users', set())
|
||||
additional_users = node.metadata.get('openssh/allowed_users', set())
|
||||
|
||||
for user, config in node.metadata.get('users', {}).items():
|
||||
if 'ssh_pubkey' in config and not config.get('delete', False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue