mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 17:23:21 +00:00
Update server/monitor-types/system-service.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user