Skip to content

Commit

Permalink
Remove changes from merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed May 8, 2024
1 parent dbecfda commit 7cea22c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metricbeat/helper/dialer/dialer_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
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 @@ -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
Expand Down

0 comments on commit 7cea22c

Please sign in to comment.