Add more apps for tagger

This commit is contained in:
2025-06-06 16:04:37 +02:00
parent 249128e011
commit 3d6dca9386
14 changed files with 32 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ func (t *AppTagger) Match(job *schema.Job) {
for _, a := range t.apps {
tag := a.tag
for _, s := range a.strings {
if strings.Contains(jobscript, s) {
if strings.Contains(strings.ToLower(jobscript), s) {
if !r.HasTag(id, t.tagType, tag) {
r.AddTagOrCreateDirect(id, t.tagType, tag)
break out