From 532b9da2c06007d251d211c2c85fb52b1884f58f Mon Sep 17 00:00:00 2001 From: Riccardo Crippa Date: Mon, 5 May 2025 07:44:03 +0200 Subject: [PATCH] Revert "change Maintenance notification text." This reverts commit 9cbbed4bbedead66bda2f883f68cca30e9dd9580. --- server/model/monitor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 6800e1b90..8a58caee4 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1271,7 +1271,6 @@ class Monitor extends BeanModel { (previousBeatStatus === DOWN && currentBeatStatus === MAINTENANCE) || (previousBeatStatus === UP && currentBeatStatus === DOWN) || (previousBeatStatus === DOWN && currentBeatStatus === UP) || - (previousBeatStatus === PENDING && currentBeatStatus === MAINTENANCE) || (previousBeatStatus === PENDING && currentBeatStatus === DOWN); } @@ -1292,7 +1291,7 @@ class Monitor extends BeanModel { } else if (bean.status === DOWN) { text = "🔴 Down"; } else if (bean.status === MAINTENANCE) { - text = "Under Maintenance"; + text = "🔵 Maintenance"; } let msg = `[${monitor.name}] [${text}] ${bean.msg}`;