mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +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 {
|
||||
if ctx.err != io.EOF {
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user