mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-16 09:15:26 +01:00
lib/protoparser/prometheus: typo fix in error message
This commit is contained in:
parent
f4c90449dc
commit
c82a485cf6
@ -61,7 +61,7 @@ func (ctx *streamContext) Read(r io.Reader) bool {
|
|||||||
} else {
|
} else {
|
||||||
if ctx.err != io.EOF {
|
if ctx.err != io.EOF {
|
||||||
readErrors.Inc()
|
readErrors.Inc()
|
||||||
ctx.err = fmt.Errorf("cannot read graphite plaintext protocol data: %w", ctx.err)
|
ctx.err = fmt.Errorf("cannot read Prometheus exposition data: %w", ctx.err)
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user