Werk #16891: check_ewon: TypeError ('NoneType' object is not subscriptable) raised if values for levels are missing
Component | Checks & agents | ||||||
Title | check_ewon: TypeError ('NoneType' object is not subscriptable) raised if values for levels are missing | ||||||
Date | Aug 19, 2024 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
In case values for levels
are missing and None
taken instead, running the check function would
crash with TypeError ('NoneType' object is not subscriptable)
.
This change hard codes some default values in case no values could be extracted.