From ae41db1111b0c48ee2857038b5df1d9b0a29371c Mon Sep 17 00:00:00 2001 From: Thomas SUCHON Date: Thu, 23 May 2024 15:30:05 +0200 Subject: [PATCH] Fix backend address display in Nginx install --- wo/cli/plugins/stack_pref.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 9199307..b56bda1 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -419,7 +419,7 @@ def post_pref(self, apt_packages, packages, upgrade=False): ["HTTP Auth Password : {0}" .format(passwd)]) self.msg = (self.msg + [f'WordOps backend is available on https://{server_ip}:22222]) ' - 'or https://{WOVar.wo_fqdn}:22222']) + f'or https://{WOVar.wo_fqdn}:22222']) data = dict(release=WOVar.wo_version) WOTemplate.deploy(self, '/opt/cf-update.sh', @@ -646,7 +646,8 @@ def post_pref(self, apt_packages, packages, upgrade=False): .format(php_version[0])): WOGit.rollback(self, ["/etc/php"], msg="Rollback PHP") else: - Log.valide(self, "Configuring php{0}-fpm".format(php_version[0])) + Log.valide( + self, "Configuring php{0}-fpm".format(php_version[0])) WOGit.add(self, ["/etc/php"], msg="Adding PHP into Git") if os.path.exists('/etc/nginx/conf.d/upstream.conf'):