Update server/model/monitor.js

This commit is contained in:
Frank Elsinga 2026-01-05 20:25:22 +01:00 committed by GitHub
parent b2c9ccbeee
commit 038184f7fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -778,8 +778,8 @@ class Monitor extends BeanModel {
bean.msg = res.data.State.Health.Status;
}
} else {
bean.status = PENDING;
bean.msg = "Container has not reported its health and is currently " + res.data.State.Status;
bean.status = UP;
bean.msg = `Container has not reported health and is currently ${res.data.State.Status}. As it is running, it is considered UP. Consider adding a health check for better service visibility`;
}
} else if (this.type === "mysql") {
let startTime = dayjs().valueOf();