From ebb7e5ddba2fbc2a2fcb86d2d29bac7fe52e794b Mon Sep 17 00:00:00 2001 From: Neelesh Jain Date: Fri, 3 May 2024 17:22:02 -0700 Subject: [PATCH] Fix aggregate test after prometheus/common upgrade Signed-off-by: Neelesh Jain --- metrics/aggregate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/aggregate_test.go b/metrics/aggregate_test.go index e0f25d1..e5909f6 100644 --- a/metrics/aggregate_test.go +++ b/metrics/aggregate_test.go @@ -172,7 +172,7 @@ var testLabels = []labelPair{ } func TestAggregate(t *testing.T) { - contentType := expfmt.FmtText + contentType := expfmt.NewFormat(expfmt.TypeTextPlain) for _, c := range []struct { testName string