Update server/monitor-types/system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
f3c554d0ec
commit
6bc382ef4d
@ -15,7 +15,6 @@ class SystemServiceMonitorType extends MonitorType {
|
|||||||
* @returns {Promise<void>} Resolves when check is complete.
|
* @returns {Promise<void>} Resolves when check is complete.
|
||||||
*/
|
*/
|
||||||
async check(monitor, heartbeat) {
|
async check(monitor, heartbeat) {
|
||||||
// Use the new variable name 'system_service_name' to match the monitor type change
|
|
||||||
const serviceName = monitor.system_service_name;
|
const serviceName = monitor.system_service_name;
|
||||||
|
|
||||||
if (!serviceName) {
|
if (!serviceName) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user