Werk #15912: graylog_alerts: Fixed section parsing when transitioning from 2.1 to 2.2

Component Checks & agents
Title graylog_alerts: Fixed section parsing when transitioning from 2.1 to 2.2
Date Aug 21, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When transitioning from 2.1 to 2.2, parsing of the graylog alerts section used to fail. The error contains:

"exc_type": "AttributeError",
"exc_value": "'list' object has no attribute 'get'"

This has now been fixed and the transition will not cause problems.

To the list of all Werks