From 469e415d09d185b6a61c90bd4c3eda821e78321b Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sat, 11 Nov 2023 21:01:24 +0100 Subject: [PATCH] Update record.go Signed-off-by: Matthieu MOREL --- tsdb/record/record.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/record/record.go b/tsdb/record/record.go index ad4c324c6..75c15c490 100644 --- a/tsdb/record/record.go +++ b/tsdb/record/record.go @@ -532,7 +532,7 @@ func (d *Decoder) FloatHistogramSamples(rec []byte, histograms []RefFloatHistogr } if dec.Err() != nil { - return nil, fmt.Errorf("decode error after %d histograms: %w", len(histograms), dec.Err()) + return nil, fmt.Errorf("decode error after %d histograms: %w", len(histograms), dec.Err()) } if len(dec.B) > 0 { return nil, fmt.Errorf("unexpected %d bytes left in entry", len(dec.B))