Skip to content

Commit 85c9980

Browse files
committed
Fix merge conflicts
1 parent ac12361 commit 85c9980

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

filebeat/input/filestream/internal/input-logfile/harvester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func startHarvester(
202202
) func(context.Context) error {
203203
srcID := hg.identifier.ID(src)
204204

205-
return func(canceler context.Context) error {
205+
return func(canceler context.Context) (err error) {
206206
defer func() {
207207
if v := recover(); v != nil {
208208
err := fmt.Errorf("harvester panic with: %+v\n%s", v, debug.Stack())

x-pack/filebeat/tests/integration/managerV2_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import (
1616
"net/http/httptest"
1717
"net/url"
1818
"path/filepath"
19+
"strings"
1920
"sync"
2021
"sync/atomic"
2122
"testing"
@@ -935,8 +936,6 @@ func outputUnitES(t *testing.T, id int) *proto.UnitExpected {
935936
},
936937
}
937938
}
938-
<<<<<<< HEAD
939-
=======
940939

941940
func TestReloadErrorHandling(t *testing.T) {
942941
filebeat := NewFilebeat(t)
@@ -1429,4 +1428,3 @@ func TestPipelineConnectionErrorFailsInput(t *testing.T) {
14291428
})
14301429
}
14311430
}
1432-
>>>>>>> 462751c83 ([Filebeat] Correctly report V2 inputs as failed to the Manager (#47905))

0 commit comments

Comments
 (0)