diff --git a/repair.go b/repair.go index fd40cbb5a..15f79d5f7 100644 --- a/repair.go +++ b/repair.go @@ -71,7 +71,7 @@ func repairBadIndexVersion(logger log.Logger, dir string) error { if _, err := io.Copy(repl, broken); err != nil { return wrapErr(err, d) } - // Set the 5th byte to 2 to indiciate the correct file format version. + // Set the 5th byte to 2 to indicate the correct file format version. if _, err := repl.WriteAt([]byte{2}, 4); err != nil { return wrapErr(err, d) } diff --git a/wal.go b/wal.go index 28217639d..684a2fa6a 100644 --- a/wal.go +++ b/wal.go @@ -322,7 +322,7 @@ func (w *SegmentWAL) putBuffer(b *encbuf) { } // Truncate deletes the values prior to mint and the series which the keep function -// does not indiciate to preserve. +// does not indicate to preserve. func (w *SegmentWAL) Truncate(mint int64, keep func(uint64) bool) error { // The last segment is always active. if len(w.files) < 2 {