From 1ec69ba1d27ed6864c0a97166126860b5e4542e5 Mon Sep 17 00:00:00 2001 From: Andrey Upadyshev Date: Fri, 3 Feb 2017 00:20:35 +0100 Subject: [PATCH] Fix `acquire` parameter nesting --- website/source/docs/agent/http/kv.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/agent/http/kv.html.markdown b/website/source/docs/agent/http/kv.html.markdown index 69c0577909..8d7504f327 100644 --- a/website/source/docs/agent/http/kv.html.markdown +++ b/website/source/docs/agent/http/kv.html.markdown @@ -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=` : This flag is used to turn the `PUT` into a lock acquisition +* `?acquire=` : 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