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

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/6488/head
iotux 4 months ago committed by GitHub
parent f3c554d0ec
commit 6bc382ef4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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) {

Loading…
Cancel
Save