mirror of
https://github.com/prometheus/prometheus.git
synced 2026-02-18 18:25:24 -05:00
Update tombstones.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
118460a64f
commit
c74b7ad4fb
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ func ReadTombstones(dir string) (Reader, int64, error) {
|
|||
}
|
||||
|
||||
if len(b) < tombstonesHeaderSize {
|
||||
return nil, 0, fmt.Errorf("tombstones header", encoding.ErrInvalidSize)
|
||||
return nil, 0, fmt.Errorf("tombstones header: %w", encoding.ErrInvalidSize)
|
||||
}
|
||||
|
||||
d := &encoding.Decbuf{B: b[:len(b)-tombstonesCRCSize]}
|
||||
|
|
|
|||
Loading…
Reference in a new issue