raft: fix params

release-2.0
Blake Mizerany 2014-09-02 16:17:34 -07:00 committed by Yicheng Qin
parent b796d227f1
commit bb185a858f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func testServer(t *testing.T, ns int64) {
} }
for i := int64(0); i < ns; i++ { for i := int64(0); i < ns; i++ {
n := raft.Start(ctx, i, peers) n := raft.Start(i, peers)
srv := &Server{ srv := &Server{
Node: n, Node: n,