From 0b0f081a1340a93c95f663b77e76a388f383bc62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Fo=C5=A1n=C3=A1r?= Date: Wed, 17 Jan 2024 16:32:42 +0100 Subject: [PATCH] treat the starting state of a docker container as DOWN --- server/model/monitor.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 483f5266..5aef8b14 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -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;