Skip to content

Commit

Permalink
Implement PR review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed May 2, 2024
1 parent 20c003f commit d121b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/cel/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ func cloneMap(dst, src mapstr.M) {
// walkMap walks to all ends of the provided path in m and applies fn to the
// final element of each walk. Nested arrays are not handled.
func walkMap(m mapstr.M, path string, fn func(parent mapstr.M, key string)) {
key, rest, more := strings.Cut(path, ".")
key, rest, more := strings.Cut(path, ".") //nolint:typecheck // reset is used in recursive calls.

Check failure on line 1163 in x-pack/filebeat/input/cel/input.go

View workflow job for this annotation

GitHub Actions / lint (windows)

directive `//nolint:typecheck // reset is used in recursive calls.` is unused for linter "typecheck" (nolintlint)

Check failure on line 1163 in x-pack/filebeat/input/cel/input.go

View workflow job for this annotation

GitHub Actions / lint (linux)

directive `//nolint:typecheck // reset is used in recursive calls.` is unused for linter "typecheck" (nolintlint)
v, ok := m[key]
if !ok {
return
Expand Down

0 comments on commit d121b68

Please sign in to comment.