mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
This commit is contained in:
parent
d14eb733e8
commit
3de6bffae7
|
@ -91,7 +91,7 @@ func New(b []byte, contentType string, parseClassicHistograms bool, skipOMSeries
|
||||||
}
|
}
|
||||||
switch mediaType {
|
switch mediaType {
|
||||||
case "application/openmetrics-text":
|
case "application/openmetrics-text":
|
||||||
opts := func(o * openMetricsParserOptions) {
|
opts := func(o *openMetricsParserOptions) {
|
||||||
o.SkipCTSeries = skipOMSeries
|
o.SkipCTSeries = skipOMSeries
|
||||||
}
|
}
|
||||||
return NewOpenMetricsParser(b, st, opts), nil
|
return NewOpenMetricsParser(b, st, opts), nil
|
||||||
|
|
Loading…
Reference in a new issue