Recorrected method 'notify'
This commit is contained in:
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user