Revert interface from jobMeta to job type. Extend job classifier tagger. Cleanup test rules.

This commit is contained in:
2025-05-23 07:48:27 +02:00
parent ca634bb707
commit 733e3ea9d5
11 changed files with 202 additions and 158 deletions

View File

@@ -12,7 +12,7 @@ import (
type JobHook interface {
JobStartCallback(job *schema.Job)
JobStopCallback(job *schema.JobMeta)
JobStopCallback(job *schema.Job)
}
var (
@@ -44,7 +44,7 @@ func CallJobStartHooks(jobs []*schema.Job) {
}
}
func CallJobStopHooks(job *schema.JobMeta) {
func CallJobStopHooks(job *schema.Job) {
if hooks == nil {
return
}