Update HealthMonitor

This commit is contained in:
MacRimi
2026-03-30 20:52:25 +02:00
parent a85b51843a
commit c549737ad0
4 changed files with 7 additions and 7 deletions

View File

@@ -3884,7 +3884,7 @@ class HealthMonitor:
status = 'WARNING'
reason = 'Failed to check for updates (apt-get error)'
# ── Build checks dict ────────<EFBFBD><EFBFBD>────────────────────────
# ── Build checks dict ────────────────────────────────
age_dismissed = bool(age_result and age_result.get('type') == 'skipped_acknowledged')
update_age_status = 'CRITICAL' if (last_update_days and last_update_days >= 548) else (
'INFO' if age_dismissed else ('WARNING' if (last_update_days and last_update_days >= 365) else 'OK'))