Message ID | 20220830161545.84198-9-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 ending curly bracket. 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/net.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qapi/net.json b/qapi/net.json > index 75ba2cb989..a8ad698e7d 100644 > --- a/qapi/net.json > +++ b/qapi/net.json > @@ -756,7 +756,7 @@ > # <- { "event": "NIC_RX_FILTER_CHANGED", > # "data": { "name": "vnet0", > # "path": "/machine/peripheral/vnet0/virtio-backend" }, > -# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } > +# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } > # } > # > ## Again, for local consistency: diff --git a/qapi/net.json b/qapi/net.json index 75ba2cb989..dd088c09c5 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -757,7 +757,6 @@ # "data": { "name": "vnet0", # "path": "/machine/peripheral/vnet0/virtio-backend" }, # "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } -# } # ## { 'event': 'NIC_RX_FILTER_CHANGED',
diff --git a/qapi/net.json b/qapi/net.json index 75ba2cb989..a8ad698e7d 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -756,7 +756,7 @@ # <- { "event": "NIC_RX_FILTER_CHANGED", # "data": { "name": "vnet0", # "path": "/machine/peripheral/vnet0/virtio-backend" }, -# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } +# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } # } # ##
Example output has an extra ending curly bracket. 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/net.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)