Update 'plugins/action/load_haproxy_config.py'

This commit is contained in:
sebclem 2023-06-13 21:49:16 +02:00
parent 1611317188
commit 97c06dc7cc

View File

@ -77,7 +77,6 @@ class ActionModule(ActionBase):
results['domain_maping'] = results['domain_maping'] + updated_results['domain_maping'] results['domain_maping'] = results['domain_maping'] + updated_results['domain_maping']
results['protected_domain'] = results['protected_domain'] + updated_results['protected_domain'] results['protected_domain'] = results['protected_domain'] + updated_results['protected_domain']
results['backend_config'] = results['backend_config'] + updated_results['backend_config'] results['backend_config'] = results['backend_config'] + updated_results['backend_config']
print(updated_results)
for key, value in updated_results['dns_hostnames'].items(): for key, value in updated_results['dns_hostnames'].items():
results['dns_hostnames'][key] = results['dns_hostnames'].get(key, []) + value results['dns_hostnames'][key] = results['dns_hostnames'].get(key, []) + value