diff options
Diffstat (limited to 'plugins/server/plugin.go')
-rw-r--r-- | plugins/server/plugin.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go index 038d83d4..1694cdf1 100644 --- a/plugins/server/plugin.go +++ b/plugins/server/plugin.go @@ -266,14 +266,3 @@ func (server *Plugin) collectWorkerEvents(event interface{}) { } } } - -func (server *Plugin) collectJobsEvents(event interface{}) { //nolint:unused - if jev, ok := event.(events.JobEvent); ok { - switch jev.Event { - case events.EventJobStart: - server.log.Info("Job started", "start", jev.Start, "elapsed", jev.Elapsed) - case events.EventJobOK: - server.log.Info("Job OK", "start", jev.Start, "elapsed", jev.Elapsed) - } - } -} |