fixed issue with non written cert file

This commit is contained in:
Joachim Lusiardi 2020-05-16 19:32:02 +02:00
parent 4aa0116f4d
commit 1f8ccbabb0

View File

@ -205,7 +205,9 @@ if __name__ == '__main__':
resolved_domains = list_domains.get_resolving_domains_from_containers(client)
# - create cert
create_cert_data_standalone(resolved_domains)
create_haproxy_cert()
cert_data = create_haproxy_cert()
write_file(cert_file, cert_data)
logging.info('file written')
start_haproxy_ssl()
# now we should have it up and running or something weird happened.