Skip to content

Commit

Permalink
rebase on master
Browse files Browse the repository at this point in the history
Signed-off-by: Issif <issif_github@gadz.org>
  • Loading branch information
Issif committed Jan 12, 2021
1 parent cd05068 commit 7d9c992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func forwardEvent(falcopayload types.FalcoPayload) {
go pagerdutyClient.PagerdutyCreateIncident(falcopayload)
}

if config.Kubeless.Namespace != "" && config.Kubeless.Function != "" && (priorityMap[strings.ToLower(falcopayload.Priority)] >= priorityMap[strings.ToLower(config.Kubeless.MinimumPriority)] || falcopayload.Rule == TestRule) {
if config.Kubeless.Namespace != "" && config.Kubeless.Function != "" && (falcopayload.Priority >= types.Priority(config.Kubeless.MinimumPriority) || falcopayload.Rule == TestRule) {
go kubelessClient.KubelessCall(falcopayload)
}
}

0 comments on commit 7d9c992

Please sign in to comment.