Fixed wrong function call
This commit is contained in:
parent
c3664b34d3
commit
b23f1297e6
2
start.py
2
start.py
@ -176,7 +176,7 @@ if __name__ == '__main__':
|
|||||||
if event['Action'] in ['start', 'destroy']:
|
if event['Action'] in ['start', 'destroy']:
|
||||||
# check if there is any domain name configured
|
# check if there is any domain name configured
|
||||||
container_id = event['id']
|
container_id = event['id']
|
||||||
if len(list_domains.handle_container()) > 0:
|
if len(list_domains.handle_container(client, container_id)) > 0:
|
||||||
resolved_domains = list_domains.get_resolving_domains_from_containers(client)
|
resolved_domains = list_domains.get_resolving_domains_from_containers(client)
|
||||||
create_cert_data_standalone(resolved_domains)
|
create_cert_data_standalone(resolved_domains)
|
||||||
create_haproxy_cert()
|
create_haproxy_cert()
|
||||||
|
Loading…
Reference in New Issue
Block a user