From 1f8ccbabb055bdd2f2f70dee9254ee641b266251 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Sat, 16 May 2020 19:32:02 +0200 Subject: [PATCH] fixed issue with non written cert file --- start.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start.py b/start.py index da40d1b..3d3adfb 100644 --- a/start.py +++ b/start.py @@ -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.