From 2717ca62145d409fadf1c0e82c56723024b0ee48 Mon Sep 17 00:00:00 2001 From: SungJin1212 Date: Mon, 18 Nov 2024 13:35:53 +0900 Subject: [PATCH] Fix instant query test data type Signed-off-by: SungJin1212 --- pkg/querier/tripperware/instantquery/instant_query_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/querier/tripperware/instantquery/instant_query_test.go b/pkg/querier/tripperware/instantquery/instant_query_test.go index 718bc460ab..ed4a63d784 100644 --- a/pkg/querier/tripperware/instantquery/instant_query_test.go +++ b/pkg/querier/tripperware/instantquery/instant_query_test.go @@ -323,7 +323,7 @@ func TestResponse(t *testing.T) { promBody: &tripperware.PrometheusResponse{ Status: "success", Data: tripperware.PrometheusData{ - ResultType: model.ValString.String(), + ResultType: model.ValScalar.String(), Result: tripperware.PrometheusQueryResult{ Result: &tripperware.PrometheusQueryResult_RawBytes{ RawBytes: []byte(`{"resultType":"scalar","result":[1,"13"]}`),