fix word `encourter` to `encounter`
Signed-off-by: czm <zhongming.chang@daocloud.io>
This commit is contained in:
parent
42bbc6b37b
commit
758c71b980
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue