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

Component Checks & agents
Title check_http: Don't Crash with TypeError
Date May 31, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p2 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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

To the list of all Werks