Browse Source

Merge pull request #3473 from MrLawes/master

doc: fix bad url in using a directory TTL section
Xiang Li 10 years ago
parent
commit
9b032c6a00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Documentation/api.md

+ 1 - 1
Documentation/api.md

@@ -472,7 +472,7 @@ curl http://127.0.0.1:2379/v2/keys/dir -XPUT -d ttl=30 -d dir=true -d prevExist=
 Keys that are under this directory work as usual, but when the directory expires, a watcher on a key under the directory will get an expire event:
 Keys that are under this directory work as usual, but when the directory expires, a watcher on a key under the directory will get an expire event:
 
 
 ```sh
 ```sh
-curl 'http://127.0.0.1:2379/v2/keys/dir/asdf?wait=true'
+curl 'http://127.0.0.1:2379/v2/keys/dir?wait=true'
 ```
 ```
 
 
 ```json
 ```json