From 33e82ec133b133e79666f7eec7d8d69954aa2aa3 Mon Sep 17 00:00:00 2001 From: Michel Hollands <42814411+MichelHollands@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:05:01 +0100 Subject: [PATCH] fix: remove unused parameter causing lint error (#12801) Signed-off-by: Michel Hollands --- pkg/bloomgateway/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/bloomgateway/client.go b/pkg/bloomgateway/client.go index 0ef6f498a59cf..a17b9ec0e8c63 100644 --- a/pkg/bloomgateway/client.go +++ b/pkg/bloomgateway/client.go @@ -201,7 +201,7 @@ func (c *GatewayClient) Close() { } // FilterChunkRefs implements Client -func (c *GatewayClient) FilterChunks(ctx context.Context, tenant string, interval bloomshipper.Interval, blocks []blockWithSeries, plan plan.QueryPlan) ([]*logproto.GroupedChunkRefs, error) { +func (c *GatewayClient) FilterChunks(ctx context.Context, _ string, interval bloomshipper.Interval, blocks []blockWithSeries, plan plan.QueryPlan) ([]*logproto.GroupedChunkRefs, error) { // no block and therefore no series with chunks if len(blocks) == 0 { return nil, nil @@ -285,7 +285,7 @@ func (c *GatewayClient) FilterChunks(ctx context.Context, tenant string, interva return mergeSeries(results, buf) } -// mergeSeries combines respones from multiple FilterChunkRefs calls and deduplicates +// mergeSeries combines responses from multiple FilterChunkRefs calls and deduplicates // chunks from series that appear in multiple responses. // To avoid allocations, an optional slice can be passed as second argument. func mergeSeries(input [][]*logproto.GroupedChunkRefs, buf []*logproto.GroupedChunkRefs) ([]*logproto.GroupedChunkRefs, error) {