Update server/model/monitor.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
6ce5e90650
commit
e9043c7352
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user