Werk #15620: check_http: Don't Crash with TypeError

Komponente Checks & agents
Titel check_http: Don't Crash with TypeError
Datum 31.05.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk fixes a regression introduced in 2.2.0.

If a user configured the option IP address family > Primary address family via the rule Check HTTP service, then the check would crash with

TypeError: 'NoneType' object is not subscriptable

Zur Liste aller Werks