Explorar el Código

raft: fix the comment in test

Xiang Li hace 11 años
padre
commit
f3348d6e13
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      raft/node_test.go

+ 1 - 1
raft/node_test.go

@@ -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],
 	}