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

Komponente Checks & agents
Titel check_http: Don't Crash with TypeError
Datum 31.05.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p2 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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