From f1f92f0fa367f7ae4ef6ae82270b5d55a8aaefb7 Mon Sep 17 00:00:00 2001 From: Cong Ding Date: Thu, 15 Oct 2015 02:17:34 -0500 Subject: [PATCH] raft/doc: fix typos --- raft/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/doc.go b/raft/doc.go index 63a2e27b5..5f5e87242 100644 --- a/raft/doc.go +++ b/raft/doc.go @@ -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)