From 0e77dcfdb9b8b903406e04698b792cdb7bcbcbf5 Mon Sep 17 00:00:00 2001 From: yy Date: Tue, 20 Jan 2026 20:14:02 +0900 Subject: [PATCH] fix: typo in error message (#17878) Signed-off-by: Yohei Yamamoto --- tsdb/head.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/head.go b/tsdb/head.go index 8db9231124..4410da407e 100644 --- a/tsdb/head.go +++ b/tsdb/head.go @@ -985,7 +985,7 @@ func (h *Head) loadMmappedChunks(refSeries map[chunks.HeadSeriesRef]*memSeries) return nil }); err != nil { // secondLastRef because the lastRef caused an error. - return nil, nil, secondLastRef, fmt.Errorf("iterate on on-disk chunks: %w", err) + return nil, nil, secondLastRef, fmt.Errorf("iterate on-disk chunks: %w", err) } return mmappedChunks, oooMmappedChunks, lastRef, nil }