Explorar el Código

Merge pull request #6999 from leonliao/patch-1

Documentation: use port 2379 in local cluster guide
Xiang Li hace 9 años
padre
commit
1e60f88786
Se han modificado 1 ficheros con 1 adiciones y 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      |
 +------------------+---------+--------+------------------------+------------------------+