From 1a3c0c3265bffc8c7d05bdde757e276ceb996e4a Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Tue, 14 Nov 2023 18:09:29 -0800 Subject: [PATCH] fix lint Signed-off-by: Ben Ye --- CHANGELOG.md | 1 + pkg/frontend/transport/handler_test.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 123b6eefcd4..141066de9d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## master / unreleased * [ENHANCEMENT] Store Gateway: Added `-store-gateway.enabled-tenants` and `-store-gateway.disabled-tenants` to explicitly enable or disable store-gateway for specific tenants. #5638 * [FEATURE] Ingester: Add per-tenant new metric `cortex_ingester_tsdb_data_replay_duration_seconds`. #5477 +* [BUGFIX] Query Frontend: Fix query string being omitted in query stats log. #5655 ## 1.16.0 in progress diff --git a/pkg/frontend/transport/handler_test.go b/pkg/frontend/transport/handler_test.go index 61819812870..0aabf0e110b 100644 --- a/pkg/frontend/transport/handler_test.go +++ b/pkg/frontend/transport/handler_test.go @@ -3,7 +3,6 @@ package transport import ( "bytes" "context" - querier_stats "github.com/cortexproject/cortex/pkg/querier/stats" "io" "net/http" "net/http/httptest" @@ -20,6 +19,8 @@ import ( "github.com/stretchr/testify/require" "github.com/weaveworks/common/httpgrpc" "github.com/weaveworks/common/user" + + querier_stats "github.com/cortexproject/cortex/pkg/querier/stats" ) type roundTripperFunc func(*http.Request) (*http.Response, error)