Skip to content

Commit da5de8e

Browse files
committed
lint
Signed-off-by: Alan Protasio <[email protected]>
1 parent ed6d9b0 commit da5de8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/querier/tripperware/instantquery/instant_query_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/cortexproject/cortex/pkg/querier/tripperware"
15-
1614
"github.com/cortexproject/cortex/pkg/cortexpb"
1715
"github.com/prometheus/common/model"
1816
"github.com/stretchr/testify/assert"
1917
"github.com/stretchr/testify/require"
2018
"github.com/weaveworks/common/httpgrpc"
2119
"github.com/weaveworks/common/user"
20+
21+
"github.com/cortexproject/cortex/pkg/querier/tripperware"
2222
)
2323

2424
func TestRequest(t *testing.T) {

pkg/querier/tripperware/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func decodeSampleStream(ptr unsafe.Pointer, iter *jsoniter.Iterator) {
9191
case "metric":
9292
iter.ReadVal(&lbls)
9393
case "values":
94-
for {
94+
for {
9595
if !iter.ReadArray() {
9696
break
9797
}

0 commit comments

Comments
 (0)