diff --git a/pkg/receive/handler_test.go b/pkg/receive/handler_test.go index 4d450a8a72..c2dd89845d 100644 --- a/pkg/receive/handler_test.go +++ b/pkg/receive/handler_test.go @@ -6,6 +6,7 @@ package receive import ( "bytes" "context" + goerrors "errors" "fmt" "io" "math" @@ -24,8 +25,6 @@ import ( "gopkg.in/yaml.v3" - goerrors "errors" - "github.com/alecthomas/units" "github.com/efficientgo/core/testutil" "github.com/go-kit/log" @@ -1102,7 +1101,6 @@ func benchmarkHandlerMultiTSDBReceiveRemoteWrite(b testutil.TB) { nil, false, metadata.NoneFunc, - nil, ) defer func() { testutil.Ok(b, m.Close()) }() handler.writer = NewWriter(logger, m, &WriterOptions{})