Skip to content

Commit 621ffe4

Browse files
committed
lint: fix import orders
Signed-off-by: rubywtl <[email protected]>
1 parent 60ae8e7 commit 621ffe4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

pkg/querier/tripperware/instantquery/instant_query_middlewares.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package instantquery
33
import (
44
"time"
55

6-
"github.com/cortexproject/cortex/pkg/querier/tripperware"
76
"github.com/go-kit/log"
87
"github.com/thanos-io/thanos/pkg/querysharding"
8+
9+
"github.com/cortexproject/cortex/pkg/querier/tripperware"
910
)
1011

1112
func Middlewares(

pkg/querier/tripperware/instantquery/instant_query_middlewares_test.go

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

13-
"github.com/cortexproject/cortex/pkg/querier/tripperware"
14-
"github.com/cortexproject/cortex/pkg/util/validation"
1513
"github.com/go-kit/log"
1614
"github.com/stretchr/testify/require"
1715
"github.com/thanos-io/promql-engine/logicalplan"
1816
"github.com/thanos-io/thanos/pkg/querysharding"
1917
"github.com/weaveworks/common/middleware"
2018
"github.com/weaveworks/common/user"
19+
20+
"github.com/cortexproject/cortex/pkg/querier/tripperware"
21+
"github.com/cortexproject/cortex/pkg/util/validation"
2122
)
2223

2324
const (

pkg/querier/tripperware/queryrange/query_range.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ import (
1414
"github.com/opentracing/opentracing-go"
1515
otlog "github.com/opentracing/opentracing-go/log"
1616
"github.com/prometheus/common/model"
17+
"github.com/thanos-io/promql-engine/logicalplan"
1718
"github.com/weaveworks/common/httpgrpc"
1819

1920
"github.com/cortexproject/cortex/pkg/api/queryapi"
2021
"github.com/cortexproject/cortex/pkg/querier/stats"
2122
"github.com/cortexproject/cortex/pkg/querier/tripperware"
2223
"github.com/cortexproject/cortex/pkg/util"
23-
2424
"github.com/cortexproject/cortex/pkg/util/limiter"
2525
"github.com/cortexproject/cortex/pkg/util/spanlogger"
26-
"github.com/thanos-io/promql-engine/logicalplan"
2726
)
2827

2928
// StatusSuccess Prometheus success result.

0 commit comments

Comments
 (0)