Merge pull request #4751 from xiang90/doc

doc: fix refresh section in api.md
This commit is contained in:
Xiang Li
2016-03-11 09:51:35 -08:00

View File

@@ -233,7 +233,7 @@ curl http://127.0.0.1:2379/v2/keys/foo -XPUT -d value=bar -d ttl= -d prevExist=t
### Refreshing key TTL
Keys in etcd can be refreshed notifying watchers
Keys in etcd can be refreshed without notifying watchers
this can be achieved by setting the refresh to true when updating a TTL
You cannot update the value of a key when refreshing it