Explorar el Código

raft: fix params

Blake Mizerany hace 12 años
padre
commit
bb185a858f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      etcdserver2/server_test.go

+ 1 - 1
etcdserver2/server_test.go

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