Browse Source

Update ModifyIndex comment

pull/2360/head
Seth Vargo 8 years ago
parent
commit
12e46503f7
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
  1. 4
      api/kv.go

4
api/kv.go

@ -19,7 +19,9 @@ type KVPair struct {
// is a read-only field. // is a read-only field.
CreateIndex uint64 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 ModifyIndex uint64
// LockIndex holds the index corresponding to a lock on this key, if any. This // LockIndex holds the index corresponding to a lock on this key, if any. This

Loading…
Cancel
Save