[libvirt] [PATCH 4/9] qemu: agent: Avoid unnecessary JSON object type check

Ján Tomko jtomko at redhat.com
Fri Mar 30 21:09:53 UTC 2018


On Fri, Mar 30, 2018 at 12:59:11PM +0200, Peter Krempa wrote:
>Use virJSONValueObjectGetArray instead of virJSONValueObjectGet so that
>it's not necessary to check whether it's an array.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_agent.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>

ACK

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180330/c67a2bc3/attachment-0001.sig>


More information about the libvir-list mailing list