Merge pull request #788 from alex-sherwin/patch-1

fix(doc): fixed typo for etcd lock examples
This commit is contained in:
Jonathan Boulle
2014-05-15 18:30:15 -07:00

View File

@@ -50,7 +50,7 @@ curl -X POST http://127.0.0.1:4001/mod/v2/lock/customer1?ttl=60 -d value=bar -d
curl -X PUT http://127.0.0.1:4001/mod/v2/lock/customer1?ttl=60 -d index=2
```
**Renew the TTL on the "customer1" lock for value "customer1"**
**Renew the TTL on the "customer1" lock for value "bar"**
```sh
curl -X PUT http://127.0.0.1:4001/mod/v2/lock/customer1?ttl=60 -d value=bar