Documentation: use port 2379 in local cluster guide

The port in endpoints should be 2379, instead of 12379.
This commit is contained in:
leonliao 2016-12-14 11:53:48 +08:00
parent cdde0368ad
commit cb9277f339

View File

@ -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 |
+------------------+---------+--------+------------------------+------------------------+