Message ID | 20220830161545.84198-5-victortoso@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | qapi examples fixes and rfc for another generator | expand |
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 --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...}, +# } # ]} # ##
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(-)