mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +02:00
Fix bugs in job classifier and tagger infrastructure
This commit is contained in:
@@ -213,6 +213,10 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
if config.Keys.EnableJobTaggers {
|
||||
tagger.Init()
|
||||
}
|
||||
|
||||
if flagApplyTags {
|
||||
if err := tagger.RunTaggers(); err != nil {
|
||||
log.Abortf("Running job taggers.\nError: %s\n", err.Error())
|
||||
@@ -225,9 +229,6 @@ func main() {
|
||||
|
||||
archiver.Start(repository.GetJobRepository())
|
||||
|
||||
if config.Keys.EnableJobTaggers {
|
||||
tagger.Init()
|
||||
}
|
||||
taskManager.Start()
|
||||
serverInit()
|
||||
|
||||
|
Reference in New Issue
Block a user