diff mbox series

[PULL,v2,3/4] docs/interop/qmp-spec: Update error description for parsing errors

Message ID 20230522112022.2075140-4-armbru@redhat.com
State Accepted
Commit 8a85b8ec3da7f6b5edddb4e142807785044c748e
Headers show
Series None | expand

Commit Message

Markus Armbruster May 22, 2023, 11:20 a.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>

The description text for a parsing error has changed since the
spec doc was first written; update the example in the docs.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230515162245.3964307-3-peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 docs/interop/qmp-spec.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/docs/interop/qmp-spec.rst b/docs/interop/qmp-spec.rst
index 45d6c98041..563344160e 100644
--- a/docs/interop/qmp-spec.rst
+++ b/docs/interop/qmp-spec.rst
@@ -307,7 +307,7 @@  This section provides some examples of real QMP usage, in all of them
   .. code-block:: QMP
 
     -> { "execute": }
-    <- { "error": { "class": "GenericError", "desc": "Invalid JSON syntax" } }
+    <- { "error": { "class": "GenericError", "desc": "JSON parse error, expecting value" } }
 
 .. admonition:: Example