feat(aa): add the Merge method to the Rule interface.

This commit is contained in:
Alexandre Pujol 2024-06-20 23:23:39 +01:00
parent d6424cb950
commit 42ca1be858
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 25 additions and 18 deletions

View file

@ -68,7 +68,7 @@ func aaLog(logger string, path string, profile string) error {
if rules {
profiles := aaLogs.ParseToProfiles()
for _, p := range profiles {
p.Merge()
p.Merge(nil)
p.Sort()
p.Format()
fmt.Print(p.String() + "\n\n")