From 72118766887f20fee9bd0ec9d4611e87c8d07d94 Mon Sep 17 00:00:00 2001 From: Christian Theune Date: Fri, 12 Jun 2015 16:07:42 +0200 Subject: [PATCH] Make behaviour of keyprefixes always matching all keys in a prefix more clear. --- website/source/docs/agent/watches.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/agent/watches.html.markdown b/website/source/docs/agent/watches.html.markdown index d02e92eb8b..d4f107c9bd 100644 --- a/website/source/docs/agent/watches.html.markdown +++ b/website/source/docs/agent/watches.html.markdown @@ -105,7 +105,9 @@ An example of the output of this command: ### Type: keyprefix 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.