Merge pull request #3687 from ccding/patch-1

raft/doc: fix typos
This commit is contained in:
Xiang Li 2015-10-15 07:52:43 -07:00
commit c2e49b5622

View File

@ -88,7 +88,7 @@ The total state machine handling loop will look something like this:
}
for entry := range rd.CommittedEntries {
process(entry)
if entry.Type == raftpb.EntryConfChange:
if entry.Type == raftpb.EntryConfChange {
var cc raftpb.ConfChange
cc.Unmarshal(entry.Data)
s.Node.ApplyConfChange(cc)