Skip to content

Commit 33e82ec

Browse files
fix: remove unused parameter causing lint error (#12801)
Signed-off-by: Michel Hollands <[email protected]>
1 parent ec1a057 commit 33e82ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/bloomgateway/client.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (c *GatewayClient) Close() {
201201
}
202202

203203
// FilterChunkRefs implements Client
204-
func (c *GatewayClient) FilterChunks(ctx context.Context, tenant string, interval bloomshipper.Interval, blocks []blockWithSeries, plan plan.QueryPlan) ([]*logproto.GroupedChunkRefs, error) {
204+
func (c *GatewayClient) FilterChunks(ctx context.Context, _ string, interval bloomshipper.Interval, blocks []blockWithSeries, plan plan.QueryPlan) ([]*logproto.GroupedChunkRefs, error) {
205205
// no block and therefore no series with chunks
206206
if len(blocks) == 0 {
207207
return nil, nil
@@ -285,7 +285,7 @@ func (c *GatewayClient) FilterChunks(ctx context.Context, tenant string, interva
285285
return mergeSeries(results, buf)
286286
}
287287

288-
// mergeSeries combines respones from multiple FilterChunkRefs calls and deduplicates
288+
// mergeSeries combines responses from multiple FilterChunkRefs calls and deduplicates
289289
// chunks from series that appear in multiple responses.
290290
// To avoid allocations, an optional slice can be passed as second argument.
291291
func mergeSeries(input [][]*logproto.GroupedChunkRefs, buf []*logproto.GroupedChunkRefs) ([]*logproto.GroupedChunkRefs, error) {

0 commit comments

Comments
 (0)