Update tombstones.go

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL 2023-11-11 19:22:06 +01:00 committed by GitHub
parent 118460a64f
commit c74b7ad4fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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