mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-16 01:56:41 +02: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…
x
Reference in New Issue
Block a user