diff --git a/x-pack/filebeat/input/cel/input.go b/x-pack/filebeat/input/cel/input.go index f741d0c2d4a..9ca1afc1a8b 100644 --- a/x-pack/filebeat/input/cel/input.go +++ b/x-pack/filebeat/input/cel/input.go @@ -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. v, ok := m[key] if !ok { return