From 9536ff4ecb82432676e357506111268e1bb8731f Mon Sep 17 00:00:00 2001 From: Manik Rana Date: Mon, 2 Sep 2024 17:57:10 +0530 Subject: [PATCH] fix: finish refac Signed-off-by: Manik Rana --- model/textparse/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/textparse/interface.go b/model/textparse/interface.go index a3e1c504c..1e1c3fd59 100644 --- a/model/textparse/interface.go +++ b/model/textparse/interface.go @@ -92,7 +92,7 @@ func New(b []byte, contentType string, parseClassicHistograms, skipOMCTSeries bo switch mediaType { case "application/openmetrics-text": opts := func(o *openMetricsParserOptions) { - o.SkipCTSeries = skipOMSeries + o.SkipCTSeries = skipOMCTSeries } return NewOpenMetricsParser(b, st, opts), nil case "application/vnd.google.protobuf":