raft/doc: fix typos

This commit is contained in:
Cong Ding 2015-10-15 02:17:34 -05:00
parent afd74dfeb7
commit f1f92f0fa3

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)