mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -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 {
|
||||
case "application/openmetrics-text":
|
||||
opts := func(o * openMetricsParserOptions) {
|
||||
opts := func(o *openMetricsParserOptions) {
|
||||
o.SkipCTSeries = skipOMSeries
|
||||
}
|
||||
return NewOpenMetricsParser(b, st, opts), nil
|
||||
|
|
Loading…
Reference in a new issue