Skip to content

Commit fe58808

Browse files
committed
Fix code
1 parent 9c46b13 commit fe58808

File tree

1 file changed

+1
-1
lines changed
  • filebeat/input/filestream/internal/input-logfile

1 file changed

+1
-1
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())

0 commit comments

Comments
 (0)