From 46aae796f9fb0c3377e7283f5342271fea6d0f06 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Mon, 6 Dec 2010 22:17:06 +0100
Subject: [PATCH] =?UTF-8?q?Rename=20=E2=80=9Ckind=E2=80=9D=20to=20?=
 =?UTF-8?q?=E2=80=9Cwhat=E2=80=9D=20for=20calls=20in=20query2=20design?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

β€œkind” is already used in the field definition. β€œwhat” seems to
be a better fit for the calls (β€œwhat should be queried?”).

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
---
 doc/design-query2.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/design-query2.rst b/doc/design-query2.rst
index 9ba874690..f4b52a4a3 100644
--- a/doc/design-query2.rst
+++ b/doc/design-query2.rst
@@ -113,7 +113,7 @@ Request
 
 The request is a dictionary with the following entries:
 
-``kind`` (string, required)
+``what`` (string, required)
   An :ref:`item type <item-types>`.
 ``fields`` (list of strings, required)
   List of names of fields to return. Example::
@@ -209,7 +209,7 @@ Request
 
 The request is a dictionary with the following entries:
 
-``kind`` (string, required)
+``what`` (string, required)
   An :ref:`item type <item-types>`.
 ``fields`` (list of strings, optional)
   List of names of fields to return. If not set, all fields are
-- 
GitLab