Skip to content

Commit dd095a9

Browse files
committed
Fix lint
Signed-off-by: SungJin1212 <[email protected]>
1 parent 8ad03e0 commit dd095a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/api/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"path"
99
"sync"
1010

11-
"github.com/cortexproject/cortex/pkg/api/query"
1211
"github.com/go-kit/log"
1312
"github.com/go-kit/log/level"
1413
"github.com/gorilla/mux"
@@ -26,6 +25,7 @@ import (
2625
"github.com/weaveworks/common/instrument"
2726
"github.com/weaveworks/common/middleware"
2827

28+
"github.com/cortexproject/cortex/pkg/api/query"
2929
"github.com/cortexproject/cortex/pkg/querier"
3030
"github.com/cortexproject/cortex/pkg/querier/codec"
3131
"github.com/cortexproject/cortex/pkg/querier/stats"

pkg/api/query/handler_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (mockQuerier) Close() error {
6363
return nil
6464
}
6565

66-
func Test_CustomAPI(t *testing.T) {
66+
func Test_QueryAPI(t *testing.T) {
6767
engine := promql.NewEngine(promql.EngineOpts{
6868
MaxSamples: 100,
6969
Timeout: time.Second * 2,
@@ -243,7 +243,7 @@ func Test_InvalidCodec(t *testing.T) {
243243
require.Equal(t, http.StatusNotAcceptable, rec.Code)
244244
}
245245

246-
func Test_CustomAPI_StatsRenderer(t *testing.T) {
246+
func Test_QueryAPI_StatsRenderer(t *testing.T) {
247247
engine := promql.NewEngine(promql.EngineOpts{
248248
MaxSamples: 100,
249249
Timeout: time.Second * 2,

0 commit comments

Comments
 (0)