mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Update comment for ErrOutOfOrderSample (#563)
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
This commit is contained in:
parent
62cfe4446f
commit
837ae9aaa0
2
head.go
2
head.go
|
@ -39,7 +39,7 @@ var (
|
||||||
ErrNotFound = errors.Errorf("not found")
|
ErrNotFound = errors.Errorf("not found")
|
||||||
|
|
||||||
// ErrOutOfOrderSample is returned if an appended sample has a
|
// ErrOutOfOrderSample is returned if an appended sample has a
|
||||||
// timestamp larger than the most recent sample.
|
// timestamp smaller than the most recent sample.
|
||||||
ErrOutOfOrderSample = errors.New("out of order sample")
|
ErrOutOfOrderSample = errors.New("out of order sample")
|
||||||
|
|
||||||
// ErrAmendSample is returned if an appended sample has the same timestamp
|
// ErrAmendSample is returned if an appended sample has the same timestamp
|
||||||
|
|
Loading…
Reference in a new issue