diff --git a/server/server.js b/server/server.js index 3e888c92..7db702a9 100644 --- a/server/server.js +++ b/server/server.js @@ -568,7 +568,7 @@ exports.entryPage = "dashboard"; } // Reset Prometheus labels - if (monitorList[monitor.id] && monitorList[monitor.id].prometheus) { + if (monitorList[monitor.id] && monitorList[monitor.id].prometheus()) { monitorList[monitor.id].prometheus().remove(); }