Skip to content

Commit

Permalink
qga/qapi-schema: Fix guest-set-memory-blocks documentation
Browse files Browse the repository at this point in the history
Documentation claims the command can "return NULL".  "NULL" doesn't
exist in JSON.  "null" does, but the command returns lists, and null
isn't.  Correct documentation to "return an empty list".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240227113921.236097-13-armbru@redhat.com>
  • Loading branch information
Markus Armbruster committed Mar 4, 2024
1 parent e22955e commit ab07e96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qga/qapi-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1176,9 +1176,9 @@
# @GuestMemoryBlockResponse, which is corresponding to the input
# list.
#
# Note: it will return NULL if the @mem-blks list was empty on
# input, or there is an error, and in this case, guest state will
# not be changed.
# Note: it will return an empty list if the @mem-blks list was
# empty on input, or there is an error, and in this case, guest
# state will not be changed.
#
# Since: 2.3
##
Expand Down

0 comments on commit ab07e96

Please sign in to comment.