Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: dbde8a3acf0c1f496934ea35f0cafa54984c2e30
https://github.com/Checkmk/checkmk/commit/dbde8a3acf0c1f496934ea35f0cafa549…
Author: Frans Fürst <frans.fuerst(a)checkmk.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
A .werks/16885
M checks/liebert_maintenance
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