lib/protoparser/prometheus: typo fix in error message

This commit is contained in:
Aliaksandr Valialkin 2020-08-14 11:04:00 +03:00
parent d1ad3adcbe
commit 215967437d

View file

@ -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
}