Werk #12010 · Feb 22, 21
Fix for config update: Regex validation will ignore items that are not dictionaries
Since checkmk version 2.0.0b7 the Checkmk update procedure (cmk-update-config) validates regexes. This validation failed with the error message "AttributeError: 'str' object has no attribute 'get'" if the item of a rule was not of the type "dict" or "None". We can skip the regex validation if the item is not of type "dict".
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.1.0b1CommunityProUltimate + MT
- 2.0.0b8CommunityProUltimate + MT