treat the starting state of a docker container as DOWN

pull/4372/head
Vojtěch Fošnár 11 months ago committed by Louis Lam
parent 0b478404cf
commit 0b0f081a13

@ -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;

Loading…
Cancel
Save