Recorrected method 'notify'
This commit is contained in:
+1
-4
@@ -35,7 +35,7 @@ class SystemdNotifier
|
||||
@enable_heartbeat
|
||||
end
|
||||
|
||||
def notify_heartbeat(message)
|
||||
def notify(message)
|
||||
return unless @enable_heartbeat
|
||||
|
||||
begin
|
||||
@@ -47,7 +47,4 @@ class SystemdNotifier
|
||||
end
|
||||
end
|
||||
|
||||
def self.notify(message)
|
||||
MethodExecutor.record("info", "systemd", message)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user