diff options
author | Victor Toso <victortoso@redhat.com> | 2022-04-01 13:07:12 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2022-04-05 12:30:45 +0200 |
commit | 9a9d101c5bd21fb2b4b8b06f66e3fde57e7b5dd7 (patch) | |
tree | f3dc63ec2096dc79bacafa50c545da46f6431c6c /qapi | |
parent | 20661b75ea6093f5e59079d00a778a972d6732c5 (diff) |
qapi: fix example of netdev_add command
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 <victortoso@redhat.com>
Message-Id: <20220401110712.26911-1-victortoso@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message tweaked for precision]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/net.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/net.json b/qapi/net.json index 0d4578bd07..b92f3f5fb4 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -51,7 +51,7 @@ # # -> { "execute": "netdev_add", # "arguments": { "type": "user", "id": "netdev1", -# "dnssearch": "example.org" } } +# "dnssearch": [ { "str": "example.org" } ] } } # <- { "return": {} } # ## |