Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Rubens Farias <rubens.mbfarias@gmail.com>
  • Loading branch information
rubensf authored and poiana committed Jan 31, 2025
1 parent dc19ba5 commit 4ebc68c
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 @@ -187,7 +187,7 @@ func newFalcoPayload(payload io.Reader) (types.FalcoPayload, error) {
}
}
for key := range config.Templatedfields {
if regPromLabels.MatchString(strings.ReplaceAll(i, ".", "_")) {
if regPromLabels.MatchString(strings.ReplaceAll(key, ".", "_")) {
promLabels[key] = fmt.Sprintf("%v", falcopayload.OutputFields[key])
}
}
Expand Down

0 comments on commit 4ebc68c

Please sign in to comment.