Skip to content

Commit

Permalink
fix compator unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Albert <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
  • Loading branch information
ac1214 authored and alvinlin123 committed Jan 14, 2022
1 parent 56bcfff commit 1c65203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compactor/compactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var (
}

ShuffleShardingBlocksCompactorFactory = func(ctx context.Context, cfg Config, logger log.Logger, reg prometheus.Registerer) (compact.Compactor, compact.Planner, error) {
compactor, err := tsdb.NewLeveledCompactor(ctx, reg, logger, cfg.BlockRanges.ToMilliseconds(), downsample.NewPool())
compactor, err := tsdb.NewLeveledCompactor(ctx, reg, logger, cfg.BlockRanges.ToMilliseconds(), downsample.NewPool(), nil)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 1c65203

Please sign in to comment.