Skip to content

Commit 9e370dc

Browse files
committed
fix lint
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent 840bf27 commit 9e370dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/storegateway/parquet_bucket_stores_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"github.com/oklog/ulid"
1313
"github.com/prometheus-community/parquet-common/convert"
1414
"github.com/prometheus/client_golang/prometheus"
15+
"github.com/prometheus/common/promslog"
1516
"github.com/prometheus/prometheus/model/labels"
1617
"github.com/prometheus/prometheus/tsdb"
1718
"github.com/prometheus/prometheus/tsdb/chunkenc"
@@ -363,7 +364,7 @@ func convertToParquetBlocksForTesting(userPath string, userBkt objstore.Instrume
363364
return nil, err
364365
}
365366
converterOptions := []convert.ConvertOption{convert.WithName(file.Name())}
366-
_, err = convert.ConvertTSDBBlock(context.Background(), userBkt, tsdbBlock.MinTime(), tsdbBlock.MaxTime(), []convert.Convertible{tsdbBlock}, converterOptions...)
367+
_, err = convert.ConvertTSDBBlock(context.Background(), userBkt, tsdbBlock.MinTime(), tsdbBlock.MaxTime(), []convert.Convertible{tsdbBlock}, promslog.NewNopLogger(), converterOptions...)
367368
if err != nil {
368369
return nil, err
369370
}

0 commit comments

Comments
 (0)