Fixs typo: "compltely" to "completely" (#470)

Fix a small typo.
This commit is contained in:
JoeWrightss 2018-12-12 04:09:17 +08:00 committed by Krasi Georgiev
parent c8c03ff85b
commit cbfda5a801
1 changed files with 1 additions and 1 deletions

View File

@ -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) {