Update comment for ErrOutOfOrderSample (#563)

Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
This commit is contained in:
zhulongcheng 2019-03-21 16:53:39 +08:00 committed by Krasi Georgiev
parent 62cfe4446f
commit 837ae9aaa0

View file

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