Merge pull request #359 from mahuihuang/fix-etcd

This commit is contained in:
khs1994 2018-09-14 16:50:51 +08:00 committed by GitHub
commit b955c79fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,10 +50,10 @@ $ etcd
此时,可以使用 `etcdctl` 命令进行测试,设置和获取键值 `testkey: "hello world"`,检查 `etcd` 服务是否启动成功: 此时,可以使用 `etcdctl` 命令进行测试,设置和获取键值 `testkey: "hello world"`,检查 `etcd` 服务是否启动成功:
```bash ```bash
$ etcdctl member list $ ETCDCTL_API=3 etcdctl member list
8e9e05c52164694d, started, default, http://localhost:2380, http://localhost:2379 8e9e05c52164694d, started, default, http://localhost:2380, http://localhost:2379
$ etcdctl put testkey "hello world" $ ETCDCTL_API=3 etcdctl put testkey "hello world"
OK OK
$ etcdctl get testkey $ etcdctl get testkey