Werk #16890: check_ewon: ValueError (incomplete format)
| Component | Checks & agents | ||||||
| Title | check_ewon: ValueError (incomplete format) | ||||||
| Date | Aug 6, 2024 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Formatting a value with unit % would result in an invalid format-string making check_ewon
crash with an exception ValueError (incomplete format).
This change makes check_ewon use f-formatting instead of %-formatting.