From 09bbd4ad12a6e0887a3d65b0aa75e7bf308f4fd2 Mon Sep 17 00:00:00 2001 From: Solomon Jacobs Date: Thu, 16 Jan 2025 09:13:27 +0100 Subject: [PATCH] cmk-update-config: fix `[A/d]`, press 'c' After this message, ``` "Abort the update process? [A/d] \n" ``` the program looped until users pressed 'c'. CMK-21208 Change-Id: If838598f8ed1bb69d030f66aac6f3afd0bed0e8f --- cmk/update_config/plugins/pre_actions/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmk/update_config/plugins/pre_actions/utils.py b/cmk/update_config/plugins/pre_actions/utils.py index ae72bfe79d1..b36475047c3 100644 --- a/cmk/update_config/plugins/pre_actions/utils.py +++ b/cmk/update_config/plugins/pre_actions/utils.py @@ -142,7 +142,7 @@ def _request_user_input_on_incompatible_file(conflict_mode: ConflictMode) -> Res case ConflictMode.INSTALL | ConflictMode.KEEP_OLD: return Resume.UPDATE case ConflictMode.ASK: - return continue_per_users_choice( + return _disable_per_users_choice( "You can abort the update process (A) or disable the " "extension package (d) and continue the update process.\n" "Abort the update process? [A/d] \n"