[PATCH 02/11] qapi/rocker: Tidy up query-rocker-of-dpa-flows example

Markus Armbruster posted 11 patches 8 months, 2 weeks ago
[PATCH 02/11] qapi/rocker: Tidy up query-rocker-of-dpa-flows example
Posted by Markus Armbruster 8 months, 2 weeks ago
The command can return any number of RockerOfDpaFlow objects.  The
example shows it returning exactly two, with the second objecy's
members elided.  Tweak it so it elides elements after the first
instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 qapi/rocker.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qapi/rocker.json b/qapi/rocker.json
index 51aa5b4930..0c7ef1f77c 100644
--- a/qapi/rocker.json
+++ b/qapi/rocker.json
@@ -254,7 +254,7 @@
 #                       "action": {"goto-tbl": 10},
 #                       "mask": {"in-pport": 4294901760}
 #                      },
-#                      {...},
+#                      ...
 #        ]}
 ##
 { 'command': 'query-rocker-of-dpa-flows',
-- 
2.48.1
Re: [PATCH 02/11] qapi/rocker: Tidy up query-rocker-of-dpa-flows example
Posted by Eric Blake 8 months, 1 week ago
On Fri, Apr 04, 2025 at 02:14:04PM +0200, Markus Armbruster wrote:
> The command can return any number of RockerOfDpaFlow objects.  The
> example shows it returning exactly two, with the second objecy's

object's

> members elided.  Tweak it so it elides elements after the first
> instead.
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org
Re: [PATCH 02/11] qapi/rocker: Tidy up query-rocker-of-dpa-flows example
Posted by Markus Armbruster 8 months, 1 week ago
Eric Blake <eblake@redhat.com> writes:

> On Fri, Apr 04, 2025 at 02:14:04PM +0200, Markus Armbruster wrote:
>> The command can return any number of RockerOfDpaFlow objects.  The
>> example shows it returning exactly two, with the second objecy's
>
> object's

Fixing...  thanks!

>> members elided.  Tweak it so it elides elements after the first
>> instead.