Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed May 12, 2024
1 parent 4aaea68 commit 50d6fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/querier/batch/chunk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func mkChunk(t require.TestingT, step time.Duration, from model.Time, points int
pc, err := chunkenc.NewEmptyChunk(pe)
require.NoError(t, err)
appender, err := pc.Appender()
require.NoError(t, err)
ts := from

switch pe {
Expand Down
3 changes: 2 additions & 1 deletion pkg/querier/batch/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package batch

import (
"container/heap"
"github.com/prometheus/prometheus/tsdb/chunkenc"
"sort"

"github.com/prometheus/prometheus/tsdb/chunkenc"

promchunk "github.com/cortexproject/cortex/pkg/chunk"
)

Expand Down

0 comments on commit 50d6fad

Please sign in to comment.