Merge pull request #6300 from sinsharat/master

wal: document grammar correction
This commit is contained in:
Xiang Li 2016-08-29 12:22:38 -07:00 committed by GitHub
commit db7e38b0ed

View File

@ -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})