From 758c71b980c2e385227789d330eaac67028572df Mon Sep 17 00:00:00 2001 From: AllenZMC Date: Mon, 29 Jul 2019 17:45:27 +0800 Subject: [PATCH] fix word `encourter` to `encounter` Signed-off-by: czm --- storage/remote/wal_watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/remote/wal_watcher.go b/storage/remote/wal_watcher.go index 17cd3b236..dbb7201fa 100644 --- a/storage/remote/wal_watcher.go +++ b/storage/remote/wal_watcher.go @@ -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 {