Skip to content

Commit

Permalink
Remove unused function newV2Context from input_test.go (#39538)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng authored May 15, 2024
1 parent 8b58916 commit 0ac96f4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions x-pack/filebeat/input/awss3/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package awss3

import (
"context"
"errors"
"testing"

Expand Down Expand Up @@ -155,12 +154,3 @@ func TestRegionSelection(t *testing.T) {
})
}
}

func newV2Context() (v2.Context, func()) {
ctx, cancel := context.WithCancel(context.Background())
return v2.Context{
Logger: logp.NewLogger("awss3_test"),
ID: "test_id",
Cancelation: ctx,
}, cancel
}

0 comments on commit 0ac96f4

Please sign in to comment.