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

Component Checks & agents
Title check_uniserv: running the active check results in exception "TypeError: a bytes-like object is required, not 'str'"
Date Jan 17, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p21 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks