bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-12 20:37:36 +01:00
parent 2af911c29f
commit f52df58517
Signed by: kunsi
GPG key ID: 12E3D2136B818350
24 changed files with 80 additions and 95 deletions

View file

@ -29,7 +29,6 @@ if node.has_bundle('postfixadmin'):
'SMTP CONNECT': {
'check_command': 'check_smtp',
'vars.notification.sms': True,
'vars.notification.sms': True,
},
'SMTP SUBMISSION CONNECT': {
'check_command': 'check_smtp',
@ -52,7 +51,7 @@ else:
def fill_icinga_spam_blocklist_check_with_hostname(metadata):
checks = {}
for variant, ips in repo.libs.tools.resolve_identifier(repo, node.name).items():
for _, ips in repo.libs.tools.resolve_identifier(repo, node.name).items():
for ip in ips:
if not ip.is_private:
checks[f'SPAM BLOCKLIST {ip}'] = {