From e628fd7735ff3b81cd35582d602c6688ddddb320 Mon Sep 17 00:00:00 2001 From: Zhou Hao Date: Mon, 17 Feb 2020 19:45:11 +0800 Subject: [PATCH] fix comments spelling (#6829) Signed-off-by: Zhou Hao --- promql/engine_test.go | 2 +- tsdb/db.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/promql/engine_test.go b/promql/engine_test.go index 24d275564..78f6711dc 100644 --- a/promql/engine_test.go +++ b/promql/engine_test.go @@ -1154,7 +1154,7 @@ func TestQueryLogger_basic(t *testing.T) { testutil.Ok(t, res.Err) } - // Query works without query log initalized. + // Query works without query log initialized. queryExec() f1 := NewFakeQueryLogger() diff --git a/tsdb/db.go b/tsdb/db.go index d1cd35cf6..2f53a02b1 100644 --- a/tsdb/db.go +++ b/tsdb/db.go @@ -91,7 +91,7 @@ type Options struct { // WALCompression will turn on Snappy compression for records on the WAL. WALCompression bool - // StripeSize is the size in entries of the series hash map. Reducing the size will save memory but impact perfomance. + // StripeSize is the size in entries of the series hash map. Reducing the size will save memory but impact performance. StripeSize int }