mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-08 01:12:20 +00:00
treat the starting state of a docker container as DOWN
This commit is contained in:
parent
0b478404cf
commit
0b0f081a13
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue