From 1c058e9706e866a59087769d1ebfb4a05ff79857 Mon Sep 17 00:00:00 2001 From: MrLawes Date: Thu, 10 Sep 2015 09:23:10 +0800 Subject: [PATCH] doc: fix bad url in using a directory TTL section --- Documentation/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/api.md b/Documentation/api.md index c61a2b8de..9b1faeecc 100644 --- a/Documentation/api.md +++ b/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: ```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