mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: block: Remove misleading part of comment in qemuBlockStorageSourceBuildJSONSocketAddress
The array indexes are formatted if the JSON->commandline translator is translating an array type. It does not at all depend on this function. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
6fc33b6f37
commit
9cae9c822b
@ -472,11 +472,6 @@ qemuBlockStorageSourceGetURI(virStorageSourcePtr src)
|
|||||||
* Formats @hosts into a json object conforming to the 'SocketAddress' type
|
* Formats @hosts into a json object conforming to the 'SocketAddress' type
|
||||||
* in qemu.
|
* in qemu.
|
||||||
*
|
*
|
||||||
* This function can be used when only 1 src->nhosts is expected in order
|
|
||||||
* to build a command without the array indices after "server.". That is
|
|
||||||
* to see "server.type", "server.host", and "server.port" instead of
|
|
||||||
* "server.#.type", "server.#.host", and "server.#.port".
|
|
||||||
*
|
|
||||||
* Returns a virJSONValuePtr for a single server.
|
* Returns a virJSONValuePtr for a single server.
|
||||||
*/
|
*/
|
||||||
static virJSONValuePtr
|
static virJSONValuePtr
|
||||||
|
Loading…
Reference in New Issue
Block a user