From 6ab40e73c4348cd72590b9bb5e1d6347cb35666a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Todorovi=C4=87?= Date: Tue, 1 Nov 2022 17:02:14 +0100 Subject: [PATCH] Fix wrong else statements in stack_services.py --- wo/cli/plugins/stack_services.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wo/cli/plugins/stack_services.py b/wo/cli/plugins/stack_services.py index 7d83a3c..341eb9e 100644 --- a/wo/cli/plugins/stack_services.py +++ b/wo/cli/plugins/stack_services.py @@ -286,15 +286,15 @@ class WOStackStatusController(CementBaseController): if os.path.exists('{0}'.format(wo_system) + 'php7.4-fpm.service'): services = services + ['php7.4-fpm'] else: - Log.info(self, "PHP8.0-FPM is not installed") + Log.info(self, "PHP7.4-FPM is not installed") if os.path.exists('{0}'.format(wo_system) + 'php8.0-fpm.service'): services = services + ['php8.0-fpm'] else: - Log.info(self, "PHP8.1-FPM is not installed") + Log.info(self, "PHP8.0-FPM is not installed") if os.path.exists('{0}'.format(wo_system) + 'php8.1-fpm.service'): services = services + ['php8.1-fpm'] else: - Log.info(self, "PHP7.4-FPM is not installed") + Log.info(self, "PHP8.1-FPM is not installed") if pargs.php72: if os.path.exists('{0}'.format(wo_system) + 'php7.2-fpm.service'):