mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft/doc: fix typos
This commit is contained in:
parent
afd74dfeb7
commit
f1f92f0fa3
@ -88,7 +88,7 @@ The total state machine handling loop will look something like this:
|
|||||||
}
|
}
|
||||||
for entry := range rd.CommittedEntries {
|
for entry := range rd.CommittedEntries {
|
||||||
process(entry)
|
process(entry)
|
||||||
if entry.Type == raftpb.EntryConfChange:
|
if entry.Type == raftpb.EntryConfChange {
|
||||||
var cc raftpb.ConfChange
|
var cc raftpb.ConfChange
|
||||||
cc.Unmarshal(entry.Data)
|
cc.Unmarshal(entry.Data)
|
||||||
s.Node.ApplyConfChange(cc)
|
s.Node.ApplyConfChange(cc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user