mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 06:47:28 -08:00
Merge pull request #14950 from Maniktherana/fuzz-om-minor-change
chore: remove unused code
This commit is contained in:
commit
6bcb064d93
|
@ -68,10 +68,6 @@ func fuzzParseMetricWithContentType(in []byte, contentType string) int {
|
||||||
panic(warning)
|
panic(warning)
|
||||||
}
|
}
|
||||||
|
|
||||||
if contentType == "application/openmetrics-text" {
|
|
||||||
p = textparse.NewOpenMetricsParser(in, symbolTable)
|
|
||||||
}
|
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
for {
|
for {
|
||||||
_, err = p.Next()
|
_, err = p.Next()
|
||||||
|
|
Loading…
Reference in a new issue