From 7cea22cdf8c9c2bf994126d93beb222adf7b86be Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Wed, 8 May 2024 09:50:32 -0400 Subject: [PATCH] Remove changes from merge conflicts --- metricbeat/helper/dialer/dialer_windows.go | 2 +- x-pack/filebeat/input/cel/input.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/metricbeat/helper/dialer/dialer_windows.go b/metricbeat/helper/dialer/dialer_windows.go index a91b5a3868c2..94e383e4cb6c 100644 --- a/metricbeat/helper/dialer/dialer_windows.go +++ b/metricbeat/helper/dialer/dialer_windows.go @@ -61,7 +61,7 @@ func (t *NpipeDialerBuilder) String() string { func (t *NpipeDialerBuilder) Make(timeout time.Duration) (transport.Dialer, error) { to := timeout return transport.DialerFunc( - func(_ context.Context, _, _ string) (net.Conn, error) { + func(_ context.Context, _ string, _ string) (net.Conn, error) { return winio.DialPipe( strings.TrimSuffix(npipe.TransformString(t.Path), "/"), &to, diff --git a/x-pack/filebeat/input/cel/input.go b/x-pack/filebeat/input/cel/input.go index b60d4b376f97..88d7a20b458b 100644 --- a/x-pack/filebeat/input/cel/input.go +++ b/x-pack/filebeat/input/cel/input.go @@ -1161,7 +1161,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, ".") //nolint:typecheck // reset is used in recursive calls. + key, rest, more := strings.Cut(path, ".") v, ok := m[key] if !ok { return