Update server/monitor-types/system-service.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
iotux 2026-01-01 08:41:09 +01:00 committed by GitHub
parent f3c554d0ec
commit 6bc382ef4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,6 @@ class SystemServiceMonitorType extends MonitorType {
* @returns {Promise<void>} Resolves when check is complete.
*/
async check(monitor, heartbeat) {
// Use the new variable name 'system_service_name' to match the monitor type change
const serviceName = monitor.system_service_name;
if (!serviceName) {