Werk #13517: gude_pdu: Fix errors during discovery and checking

Component Checks & agents
Title gude_pdu: Fix errors during discovery and checking
Date Nov 17, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The check plugins gude_pdu_8301 and gude_pdu_8310 crashed with "TypeError: list indices must be integers or slices, not str" for already discovered services. Furthermore, when discovering services, these plugins crashed with "ValueError (item must be None or of type str)".

To the list of all Werks