From c74b7ad4fba0c91b1ff2e38adc1ab548f98a64f0 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sat, 11 Nov 2023 19:22:06 +0100 Subject: [PATCH] Update tombstones.go Signed-off-by: Matthieu MOREL --- tsdb/tombstones/tombstones.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/tombstones/tombstones.go b/tsdb/tombstones/tombstones.go index f7884f9bf..4cea5005d 100644 --- a/tsdb/tombstones/tombstones.go +++ b/tsdb/tombstones/tombstones.go @@ -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]}