From 69ed560faee8bae98383eec46fb95e552fe1fce0 Mon Sep 17 00:00:00 2001 From: sharat Date: Tue, 30 Aug 2016 00:50:02 +0530 Subject: [PATCH] wal: document grammar correction Corrected grammar mistake for doc.go --- wal/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wal/doc.go b/wal/doc.go index 031a043a3..a3abd6961 100644 --- a/wal/doc.go +++ b/wal/doc.go @@ -25,7 +25,7 @@ to it with the Save method: ... err := w.Save(s, ents) -After saving an raft snapshot to disk, SaveSnapshot method should be called to +After saving a raft snapshot to disk, SaveSnapshot method should be called to record it. So WAL can match with the saved snapshot when restarting. err := w.SaveSnapshot(walpb.Snapshot{Index: 10, Term: 2})