Skip to content

Commit

Permalink
MergeDatabaseGetIntoProfiles includes selectors
Browse files Browse the repository at this point in the history
This will be used in selector handlers.

Related: #3723
  • Loading branch information
jhrozek committed Jul 11, 2024
1 parent 134d719 commit b43d38b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/profiles/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ func MergeDatabaseGetIntoProfiles(ppl []db.GetProfileByProjectAndIDRow) map[stri
} else {
profiles[p.Profile.Name].Alert = proto.String(string(db.ActionTypeOn))
}

selectorsToProfile(profiles[p.Profile.Name], p.ProfilesWithSelectors)
}
if pm := rowInfoToProfileMap(
profiles[p.Profile.Name],
Expand Down

0 comments on commit b43d38b

Please sign in to comment.