Skip to content

Commit

Permalink
fix recording rules merge
Browse files Browse the repository at this point in the history
Signed-off-by: Thibault Mange <[email protected]>
  • Loading branch information
thibaultmg authored and openshift-cherrypick-robot committed Oct 8, 2024
1 parent a3d4cdf commit 2886ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operators/pkg/util/allowlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func MergeAllowlist(allowlist, customAllowlist, ocp3Allowlist, uwlAllowlist,
uwlAllowlist.NameList = mergeMetrics(uwlAllowlist.NameList, customUwlAllowlist.NameList)
uwlAllowlist.MatchList = mergeMetrics(uwlAllowlist.MatchList, customUwlAllowlist.MatchList)
uwlAllowlist.RuleList = append(uwlAllowlist.RuleList, customUwlAllowlist.RuleList...)
uwlAllowlist.RecordingRuleList = append(uwlAllowlist.RecordingRuleList, customUwlAllowlist.RecordingRuleList...)
if uwlAllowlist.RenameMap == nil {
uwlAllowlist.RenameMap = make(map[string]string)
}
Expand Down

0 comments on commit 2886ffc

Please sign in to comment.