Werk #16405: cmk-update-config: Don't Read Characters Pressed before Prompt Appears

Component Site management
Title cmk-update-config: Don't Read Characters Pressed before Prompt Appears
Date Feb 14, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

During cmk-update-config can prompt you with questions about how to continue the update. This is an example.

Exception while trying to load rulesets:

You can abort the update process (A) and try to fix the incompatibilities or try to continue the update (c).
Abort update? [A/c]

Previously, these prompts would read input, which was typed before the prompt was shown. Now, only the input is read after the prompt is shown.

To the list of all Werks