From 10b677b826cf50170013be7d214c659f52800e81 Mon Sep 17 00:00:00 2001 From: maizige <37949155+wsx864321@users.noreply.github.com> Date: Thu, 26 May 2022 00:01:45 +0800 Subject: [PATCH] fix typo (#10696) Update doc comment Signed-off-by: gemaizi <864321211@qq.com> --- tsdb/block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsdb/block.go b/tsdb/block.go index 38ed06353..6b8b65dda 100644 --- a/tsdb/block.go +++ b/tsdb/block.go @@ -40,8 +40,8 @@ import ( // IndexWriter serializes the index for a block of series data. // The methods must be called in the order they are specified in. type IndexWriter interface { - // AddSymbols registers all string symbols that are encountered in series - // and other indices. Symbols must be added in sorted order. + // AddSymbol registers a single symbol. + // Symbols must be registered in sorted order. AddSymbol(sym string) error // AddSeries populates the index writer with a series and its offsets