mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
treat the starting state of a docker container as DOWN
This commit is contained in:
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…
Reference in New Issue
Block a user