From 0bab6be6e1ac6cb162d57aa7c241cc7f047e264b Mon Sep 17 00:00:00 2001 From: Bartek Plotka Date: Fri, 5 Jul 2019 12:43:57 +0100 Subject: [PATCH] Fixed typo in comments. Signed-off-by: Bartek Plotka --- storage/remote/codec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/remote/codec.go b/storage/remote/codec.go index ed3ccb7d3c..7ad10eb02f 100644 --- a/storage/remote/codec.go +++ b/storage/remote/codec.go @@ -164,7 +164,7 @@ func FromQueryResult(res *prompb.QueryResult) storage.SeriesSet { } } -// StreamChunkedReadResponses iteraties over series, build chunks and streams those to caller. +// StreamChunkedReadResponses iterates over series, build chunks and streams those to caller. // TODO(bwplotka): Encode only what's needed. Fetch the encoded series from blocks instead of rencoding everything. func StreamChunkedReadResponses( stream io.Writer, @@ -184,7 +184,7 @@ func StreamChunkedReadResponses( lbls := MergeLabels(labelsToLabelsProto(series.Labels()), sortedExternalLabels) // TODO(bwplotka): We send each series in separate frame no matter what. Even if series has only one sample. - // I think we should pack strictly based on number chunks notnecessarilyy from the same series. Thoughts? + // I think we should pack strictly based on number chunks not necessarily from the same series. Thoughts? for { chks, err = encodeChunks(iter, chks, maxChunksInFrame) if err != nil {