raft: fix the comment in test

This commit is contained in:
Xiang Li 2014-09-08 16:16:58 -07:00
parent 9a57d1067d
commit f3348d6e13

View File

@ -52,7 +52,7 @@ func TestNodeRestart(t *testing.T) {
want := Ready{
State: st,
// commit upto index 1
// commit upto index commit index in st
CommittedEntries: entries[:st.Commit],
}