Explorar el Código

etcdhttp: fix test build

Blake Mizerany hace 11 años
padre
commit
172c1eae5d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      etcdserver/etcdhttp/http_test.go

+ 1 - 1
etcdserver/etcdhttp/http_test.go

@@ -26,7 +26,7 @@ func TestSet(t *testing.T) {
 
 	st := store.New()
 
-	n := raft.Start(1, []int64{1})
+	n := raft.Start(1, []int64{1}, 0, 0)
 	n.Campaign(ctx)
 
 	srv := &etcdserver.Server{