From 81a28ffd38d6a98b5de8d3f66f97c41b2d2bb8e3 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 26 Sep 2016 13:31:19 -0700 Subject: [PATCH] Update ModifyIndex comment --- api/kv.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/kv.go b/api/kv.go index bbd49813c..e1496bc8d 100644 --- a/api/kv.go +++ b/api/kv.go @@ -19,7 +19,9 @@ type KVPair struct { // is a read-only field. CreateIndex uint64 - // ModifyIndex is used for the Check-And-Set operations. + // ModifyIndex is used for the Check-And-Set operations and can also be fed + // back into the WaitIndex of the QueryOptions in order to perform blocking + // queries. ModifyIndex uint64 // LockIndex holds the index corresponding to a lock on this key, if any. This