Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ebe62d1dc004e7f645a5fc249861d93a695da9e2
https://github.com/tribe29/checkmk/commit/ebe62d1dc004e7f645a5fc249861d93a6…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-06-28 (Tue, 28 Jun 2022)
Changed paths:
A .werks/14401
M cmk/base/api/agent_based/register/check_plugins_legacy.py
M tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py
Log Message:
-----------
14401 FIX crash in legacy plugins with empty details
Some legacy plugins can print a newline indicating details to come and not follow up with
any details.
This lead to a crash with the message "ValueError ('details' must be
non-empty str or None, got )".
This has been fixed. No user interaction required.
Closes: CMK-10854
Change-Id: I7b2a3ce7fea32f65b5fb519e64c3a5c69d5b0439