From cbfda5a80178596dce5cf861724f1beb2721687d Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Wed, 12 Dec 2018 04:09:17 +0800 Subject: [PATCH] Fixs typo: "compltely" to "completely" (#470) Fix a small typo. --- head.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/head.go b/head.go index 52a3dfe46..6e94d5b9b 100644 --- a/head.go +++ b/head.go @@ -572,7 +572,7 @@ func (h *Head) Truncate(mint int64) (err error) { } // initTime initializes a head with the first timestamp. This only needs to be called -// for a compltely fresh head with an empty WAL. +// for a completely fresh head with an empty WAL. // Returns true if the initialization took an effect. func (h *Head) initTime(t int64) (initialized bool) { if !atomic.CompareAndSwapInt64(&h.minTime, math.MaxInt64, t) {