Werk #14617: check_uniserv: running the active check results in exception "TypeError: a bytes-like object is required, not 'str'"

Komponente Checks & agents
Titel check_uniserv: running the active check results in exception "TypeError: a bytes-like object is required, not 'str'"
Datum 17.01.2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p21 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

check_uniserv implementation didn't encode the close command resulting in an exception TypeError: a bytes-like object is required, not 'str' being raised. This change adds the missing encoding among some general modernization.

Zur Liste aller Werks