diff --git a/tsdb/head.go b/tsdb/head.go index 7530613735..f1916c69ee 100644 --- a/tsdb/head.go +++ b/tsdb/head.go @@ -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") ) diff --git a/tsdb/querier_test.go b/tsdb/querier_test.go index 9694e1e72b..281ffaefed 100644 --- a/tsdb/querier_test.go +++ b/tsdb/querier_test.go @@ -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)