Skip to content

Commit

Permalink
qapi: fix example of netdev_add command
Browse files Browse the repository at this point in the history
Example output has the optional member @dnssearch as string type. It
should be an array of String objects instead. Fix it.

For reference, see NetdevUserOptions.

Signed-off-by: Victor Toso <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
[Commit message tweaked for precision]
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
victortoso authored and Markus Armbruster committed Apr 5, 2022
1 parent 20661b7 commit 9a9d101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qapi/net.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#
# -> { "execute": "netdev_add",
# "arguments": { "type": "user", "id": "netdev1",
# "dnssearch": "example.org" } }
# "dnssearch": [ { "str": "example.org" } ] } }
# <- { "return": {} }
#
##
Expand Down

0 comments on commit 9a9d101

Please sign in to comment.