Explorar o código

Documentation: use port 2379 in local cluster guide
The port in endpoints should be 2379, instead of 12379.

leonliao %!s(int64=9) %!d(string=hai) anos
pai
achega
cb9277f339
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Documentation/dev-guide/local_cluster.md

+ 1 - 1
Documentation/dev-guide/local_cluster.md

@@ -45,7 +45,7 @@ To interact with the started cluster by using etcdctl:
 # use API version 3
 $ export ETCDCTL_API=3
 
-$ etcdctl --write-out=table --endpoints=localhost:12379 member list
+$ etcdctl --write-out=table --endpoints=localhost:2379 member list
 +------------------+---------+--------+------------------------+------------------------+
 |        ID        | STATUS  |  NAME  |       PEER ADDRS       |      CLIENT ADDRS      |
 +------------------+---------+--------+------------------------+------------------------+