fix word encourter to encounter

Signed-off-by: czm <zhongming.chang@daocloud.io>
This commit is contained in:
AllenZMC 2019-07-29 17:45:27 +08:00 committed by czm
parent 42bbc6b37b
commit 758c71b980

View File

@ -169,7 +169,7 @@ func (w *WALWatcher) Stop() {
func (w *WALWatcher) loop() {
defer close(w.done)
// We may encourter failures processing the WAL; we should wait and retry.
// We may encounter failures processing the WAL; we should wait and retry.
for !isClosed(w.quit) {
w.startTime = timestamp.FromTime(time.Now())
if err := w.run(); err != nil {