fix: typo in error message (#17878)

Signed-off-by: Yohei Yamamoto <yhymmt123@gmail.com>
This commit is contained in:
yy 2026-01-20 20:14:02 +09:00 committed by GitHub
parent 3c532e14de
commit 0e77dcfdb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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