diff mbox series

[v1,04/16] qapi: fix example of query-rocker-of-dpa-flows command

Message ID 20220830161545.84198-5-victortoso@redhat.com
State New
Headers show
Series qapi examples fixes and rfc for another generator | expand

Commit Message

Victor Toso Aug. 30, 2022, 4:15 p.m. UTC
Example output has an extra ',' delimiter and a foreign comment
format. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor Toso <victortoso@redhat.com>
---
 qapi/rocker.json | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Markus Armbruster Aug. 31, 2022, 11:51 a.m. UTC | #1
Victor Toso <victortoso@redhat.com> writes:

> Example output has an extra ',' delimiter and a foreign comment
> format. Fix it.
>
> Problem was noticed when trying to load the example into python's json
> library.
>
> Signed-off-by: Victor Toso <victortoso@redhat.com>
> ---
>  qapi/rocker.json | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/qapi/rocker.json b/qapi/rocker.json
> index b48e49a89b..6ae8689026 100644
> --- a/qapi/rocker.json
> +++ b/qapi/rocker.json
> @@ -251,8 +251,7 @@
>  #                   "cookie": 0,
>  #                   "action": {"goto-tbl": 10},
>  #                   "mask": {"in-pport": 4294901760}
> -#                  },
> -#                  {...more...},
> +#                  }
>  #    ]}
>  #
>  ##

Review of previous patch applies.
diff mbox series

Patch

diff --git a/qapi/rocker.json b/qapi/rocker.json
index b48e49a89b..6ae8689026 100644
--- a/qapi/rocker.json
+++ b/qapi/rocker.json
@@ -251,8 +251,7 @@ 
 #                   "cookie": 0,
 #                   "action": {"goto-tbl": 10},
 #                   "mask": {"in-pport": 4294901760}
-#                  },
-#                  {...more...},
+#                  }
 #    ]}
 #
 ##