Don't skip additional if main is skipped

This commit is contained in:
SebClem 2024-03-29 15:20:51 +01:00
parent 84a1f8af14
commit a6c381772c
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -266,7 +266,7 @@ class ActionModule(ActionBase):
"target": this_dns_target,
"state": this_state
})
if not this_uptime_raw_config.get('skip', uptime_raw_config.get('skip', False)):
if not this_uptime_raw_config.get('skip', False):
results['uptime_config'].append({
"name": full_domain,
"url": 'https://{0}/{1}'.format(full_domain, this_uptime_raw_config.get("endpoint", "")),