Update server/model/monitor.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Frank Elsinga 2026-01-05 08:40:32 +01:00 committed by GitHub
parent 6ce5e90650
commit e9043c7352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -772,7 +772,7 @@ class Monitor extends BeanModel {
bean.status = UP;
bean.msg = "healthy";
} else if (res.data.State.Health.Status === "unhealthy") {
throw Error("Container State is unhealthy due according to its healthcheck");
throw Error("Container State is unhealthy according to its healthcheck");
} else {
bean.status = PENDING;
bean.msg = res.data.State.Health.Status;