From e1370eecde7af30c8867089df3e93acee5e32df5 Mon Sep 17 00:00:00 2001 From: kjinan <2008kongxiangsheng@163.com> Date: Thu, 20 May 2021 09:51:45 +0800 Subject: [PATCH] typos correct Signed-off-by: kjinan <2008kongxiangsheng@163.com> --- tsdb/exemplar_test.go | 2 +- tsdb/index/index_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tsdb/exemplar_test.go b/tsdb/exemplar_test.go index cd6983ffb4..55e6fd3752 100644 --- a/tsdb/exemplar_test.go +++ b/tsdb/exemplar_test.go @@ -26,7 +26,7 @@ import ( "github.com/prometheus/prometheus/storage" ) -// Tests the same exemplar cases as AddExemplar, but specfically the ValidateExemplar function so it can be relied on externally. +// Tests the same exemplar cases as AddExemplar, but specifically the ValidateExemplar function so it can be relied on externally. func TestValidateExemplar(t *testing.T) { exs, err := NewCircularExemplarStorage(2, nil) require.NoError(t, err) diff --git a/tsdb/index/index_test.go b/tsdb/index/index_test.go index 255536e6fe..0e75d37588 100644 --- a/tsdb/index/index_test.go +++ b/tsdb/index/index_test.go @@ -217,7 +217,7 @@ func TestIndexRW_Postings(t *testing.T) { } require.NoError(t, p.Err()) - // The label incides are no longer used, so test them by hand here. + // The label indices are no longer used, so test them by hand here. labelIndices := map[string][]string{} require.NoError(t, ReadOffsetTable(ir.b, ir.toc.LabelIndicesTable, func(key []string, off uint64, _ int) error { if len(key) != 1 {