Recorrected method 'notify'

This commit is contained in:
2026-06-08 07:51:00 +08:00
parent 17a2feb043
commit 31ef31421e
+1 -4
View File
@@ -35,7 +35,7 @@ class SystemdNotifier
@enable_heartbeat @enable_heartbeat
end end
def notify_heartbeat(message) def notify(message)
return unless @enable_heartbeat return unless @enable_heartbeat
begin begin
@@ -47,7 +47,4 @@ class SystemdNotifier
end end
end end
def self.notify(message)
MethodExecutor.record("info", "systemd", message)
end
end end