Fix `acquire` parameter nesting

This commit is contained in:
Andrey Upadyshev 2017-02-03 00:20:35 +01:00 committed by GitHub
parent 205e06d383
commit f2b5a6439c
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ be used with a `PUT` request:
put the key if it does not already exist. If the index is non-zero,
the key is only set if the index matches the `ModifyIndex` of that key.
* `?acquire=<session>` : This flag is used to turn the `PUT` into a lock acquisition
* `?acquire=<session>` : This flag is used to turn the `PUT` into a lock acquisition
operation. This is useful as it allows leader election to be built on top
of Consul. If the lock is not held and the session is valid, this increments
the `LockIndex` and sets the `Session` value of the key in addition to updating