Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 13fdb91d0b9cadcd30350934b0adabb4eb198a1f
https://github.com/Checkmk/checkmk/commit/13fdb91d0b9cadcd30350934b0adabb4e…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
A .werks/16885.md
M cmk/base/legacy_checks/liebert_maintenance.py
M tests/unit/checks/generictests/datasets/liebert_maintenance.py
Log Message:
-----------
16885 FIX Crash: liebert_maintenance: ValueError("Cannot render negative
timespan") when time is overdue
`liebert_maintenance` check would crash with `ValueError("Cannot render negative
timespan")` if the
value for "Next maintenance" is in the past.
This change now renders positive and negative values differently (also only printing days)
adding
`'overdue'` if date for next maintenance is located in the past.
Change-Id: I0d461c89c94c3dff9503e9e9cc0ae5e1ff5dedc6
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications