Victor Toso <victort...@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 <victort...@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',


Reply via email to