From 7552631b65a0184e1c33ea8a5cb8b2bc5f712212 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sat, 15 Oct 2022 15:59:08 -0300 Subject: [PATCH] update_manager: fix error message displaying the wrong option Signed-off-by: Alfredo Monclus --- moonraker/components/update_manager/app_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/update_manager/app_deploy.py b/moonraker/components/update_manager/app_deploy.py index bd6616d..6353c2f 100644 --- a/moonraker/components/update_manager/app_deploy.py +++ b/moonraker/components/update_manager/app_deploy.py @@ -103,7 +103,7 @@ class AppDeploy(BaseDeploy): if svc not in svc_choices: raw = " ".join(services) self.server.add_warning( - f"[{config.get_name()}]: Option 'restart_action: {raw}' " + f"[{config.get_name()}]: Option 'managed_services: {raw}' " f"contains an invalid value '{svc}'. All values must be " f"one of the following choices: {svc_choices}" )