treat the starting state of a docker container as DOWN

This commit is contained in:
Vojtěch Fošnár 2024-01-17 16:32:42 +01:00 committed by Louis Lam
parent 0b478404cf
commit 0b0f081a13

View File

@ -774,9 +774,6 @@ class Monitor extends BeanModel {
if ([ "", "healthy" ].includes(res.data.State.Health.Status)) {
bean.status = UP;
bean.msg = res.data.State.Health.Status;
} else if (res.data.State.Health.Status === "starting") {
bean.status = PENDING;
bean.msg = res.data.State.Health.Status;
} else {
bean.status = DOWN;
bean.msg = res.data.State.Health.Status;