Ján Tomko
9e48b02840
qemu: agent: use GetArray to remove a check
...
The error check for ValueObjectGet("return") is redundant,
qemuAgentCommand already checked for us that the reply contains
a "return" object.
It does not guarantee, that it is an array.
Use virJSONValueObjectGetArray that combines getting the object
with checking for its type and return the more helpful of
the two error messages.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-10-08 11:16:08 +02:00
..
2020-08-03 09:27:04 +02:00
2020-07-07 12:58:19 +02:00
2020-08-24 16:42:29 +02:00
2020-10-08 11:16:08 +02:00
2020-03-25 13:13:18 +01:00
2020-06-23 17:27:50 +02:00
2020-03-24 15:57:33 +01:00
2020-09-15 15:25:22 +02:00
2020-06-22 16:04:30 +02:00
2020-10-05 16:44:06 +02:00
2020-09-15 15:20:23 +02:00
2020-07-21 09:52:59 +02:00
2020-06-22 16:04:31 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 12:26:22 +02:00
2020-10-01 12:04:48 +02:00
2020-10-05 16:44:06 +02:00
2019-10-15 11:25:22 +02:00
2020-07-07 12:58:19 +02:00
2020-06-22 16:04:30 +02:00
2020-10-05 16:44:06 +02:00
2020-10-01 12:03:57 +02:00
2020-10-05 16:44:06 +02:00
2020-09-07 10:47:54 +02:00
2020-07-22 09:40:15 +02:00
2020-07-22 09:40:15 +02:00
2020-10-05 16:44:06 +02:00
2020-01-31 15:25:33 +01:00
2020-10-07 11:26:27 +02:00
2020-10-05 10:08:26 -04:00
2020-09-14 18:10:56 +02:00
2020-09-14 18:10:56 +02:00
2020-10-07 11:26:27 +02:00
2019-06-19 17:12:30 +02:00
2020-06-23 17:27:50 +02:00
2020-03-04 12:08:50 +01:00
2020-10-05 16:44:06 +02:00
2020-01-17 10:02:01 +00:00
2020-09-07 10:47:54 +02:00
2019-12-17 10:04:44 +01:00
2020-10-06 14:26:43 +02:00
2020-08-04 17:58:08 +01:00
2020-09-07 10:47:54 +02:00
2020-08-04 17:58:08 +01:00
2020-02-24 23:15:50 +01:00
2019-09-24 12:17:10 -04:00
2020-10-07 11:26:27 +02:00
2020-10-01 10:01:05 +02:00
2020-10-05 15:38:47 +02:00
2020-09-05 07:55:45 +02:00
2019-06-19 17:12:30 +02:00
2020-10-05 16:44:06 +02:00
2020-09-04 10:20:49 +02:00
2020-10-05 16:44:06 +02:00
2020-08-04 17:58:08 +01:00
2019-06-19 17:12:30 +02:00
2020-03-24 14:52:45 +01:00
2019-06-20 15:59:19 +02:00
2020-10-05 16:44:06 +02:00
2020-10-01 12:04:48 +02:00
2020-10-05 16:44:06 +02:00
2020-08-03 19:40:36 +02:00
2020-10-05 16:44:06 +02:00
2020-08-04 17:58:08 +01:00
2019-06-19 17:12:30 +02:00
2020-10-05 10:28:41 +01:00
2019-06-19 17:12:30 +02:00
2020-10-05 16:44:06 +02:00
2020-08-24 16:42:00 +02:00
2020-08-03 19:32:27 +02:00
2020-07-10 14:21:35 +02:00
2020-08-07 13:51:16 +01:00
2020-10-05 15:38:47 +02:00
2020-04-22 09:58:10 +02:00
2020-10-05 15:38:47 +02:00
2020-10-01 09:55:02 +02:00
2020-06-23 17:27:50 +02:00
2019-10-15 11:25:22 +02:00
2020-10-01 09:55:02 +02:00
2020-05-12 06:54:59 +02:00
2020-02-24 23:15:49 +01:00
2019-10-15 11:25:22 +02:00
2020-10-05 16:44:06 +02:00
2020-03-04 12:08:50 +01:00
2020-03-24 15:54:31 +01:00
2020-03-04 12:08:50 +01:00
2020-07-07 12:58:19 +02:00
2020-07-07 12:58:19 +02:00
2020-01-16 16:35:47 +01:00
2019-12-16 10:11:22 +01:00
2020-04-03 11:50:50 +02:00
2020-04-03 11:50:57 +02:00