mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Update README.md to reflect changes in etcd v3 (#2912)
In etcdctl v3 the ls command isn't present anymore, it has to be changed to etcdctl get --keys-only --prefix
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ Example session:
|
|||||||
| demo | patroni3 | 172.22.0.4 | | running | 1 | 0 |
|
| demo | patroni3 | 172.22.0.4 | | running | 1 | 0 |
|
||||||
+---------+----------+------------+--------+---------+----+-----------+
|
+---------+----------+------------+--------+---------+----+-----------+
|
||||||
|
|
||||||
postgres@patroni1:~$ etcdctl ls --recursive --sort -p /service/demo
|
postgres@patroni1:~$ etcdctl get --keys-only --prefix /service/demo
|
||||||
/service/demo/config
|
/service/demo/config
|
||||||
/service/demo/initialize
|
/service/demo/initialize
|
||||||
/service/demo/leader
|
/service/demo/leader
|
||||||
|
|||||||
Reference in New Issue
Block a user