fix misspell (#7764)

Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
This commit is contained in:
Zhou Hao 2020-08-07 15:57:25 +08:00 committed by GitHub
parent 2c4a4548a8
commit 40ace418d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ var (
// be ingested.
ErrInvalidSample = errors.New("invalid sample")
// ErrAppenderClosed is returned if an appender has already be successfully
// rolled back or commited.
// rolled back or committed.
ErrAppenderClosed = errors.New("appender closed")
)

View file

@ -835,7 +835,7 @@ func TestPopulateWithTombSeriesIterators(t *testing.T) {
expandedResult, err := storage.ExpandChunks(it)
testutil.Ok(t, err)
// We don't care about ref IDs for comparision, only chunk's samples matters.
// We don't care about ref IDs for comparison, only chunk's samples matters.
rmChunkRefs(expandedResult)
rmChunkRefs(tc.expectedChks)
testutil.Equals(t, tc.expectedChks, expandedResult)