bundles/rspamd: use metadata.get()

This commit is contained in:
Franzi 2025-01-06 19:44:06 +01:00
parent f67de1ea1b
commit 1a34555530
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -96,7 +96,7 @@ if 'dkim' in node.metadata.get('rspamd', {}):
},
}
dkim_key = repo.libs.faults.ensure_fault_or_none(node.metadata['rspamd']['dkim'])
dkim_key = repo.libs.faults.ensure_fault_or_none(node.metadata.get('rspamd/dkim'))
actions = {
'rspamd_assure_dkim_key_permissions': {