mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
fix: finish refac
Signed-off-by: Manik Rana <manikrana54@gmail.com>
This commit is contained in:
parent
8c070dcc41
commit
9536ff4ecb
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue