Make behaviour of keyprefixes always matching all keys in a prefix more clear.

This commit is contained in:
Christian Theune 2015-06-12 16:07:42 +02:00
parent 1b4167699f
commit 7211876688
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ An example of the output of this command:
### <a name="keyprefix"></a>Type: keyprefix ### <a name="keyprefix"></a>Type: keyprefix
The "keyprefix" watch type is used to watch a prefix of keys in the KV store. The "keyprefix" watch type is used to watch a prefix of keys in the KV store.
It requires that the "prefix" parameter be specified. It requires that the "prefix" parameter be specified. Note that the watch
returns *all* keys matching the prefix whenever *any* key matching the prefix
changes.
This maps to the `/v1/kv/` API internally. This maps to the `/v1/kv/` API internally.