diff --git a/internal/containermatcher/container.go b/internal/containermatcher/container.go index 68a8ca90..e9cccbd4 100644 --- a/internal/containermatcher/container.go +++ b/internal/containermatcher/container.go @@ -124,12 +124,19 @@ func (m Matcher) addSigs(i int, nameParts [][]string, sigParts [][]frames.Signat return err } } + // commit all the ctests for _, v := range m[i].nameCTest { err = v.commit() if err != nil { return err } } + for _, v := range m[i].globCtests { + err = v.commit() + if err != nil { + return err + } + } m[i].priorities.Add(l, len(nameParts), 0, 0) return nil }