diff mbox series

[v1,7/7] qapi: fix example of NETDEV_STREAM_CONNECTED event

Message ID 20230905194846.169530-8-victortoso@redhat.com (mailing list archive)
State New, archived
Headers show
Series Validate and test qapi examples | expand

Commit Message

Victor Toso Sept. 5, 2023, 7:48 p.m. UTC
Example output was using single quotes. Fix it.

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

Comments

Daniel P. Berrangé Sept. 6, 2023, 9:02 a.m. UTC | #1
On Tue, Sep 05, 2023 at 09:48:46PM +0200, Victor Toso wrote:
> Example output was using single quotes. Fix it.
> 
> Signed-off-by: Victor Toso <victortoso@redhat.com>
> ---
>  qapi/net.json | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
diff mbox series

Patch

diff --git a/qapi/net.json b/qapi/net.json
index 313c8a606e..81988e499a 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -930,9 +930,9 @@ 
 #
 # Example:
 #
-# <- { 'event': 'NETDEV_STREAM_DISCONNECTED',
-#      'data': {'netdev-id': 'netdev0'},
-#      'timestamp': {'seconds': 1663330937, 'microseconds': 526695} }
+# <- { "event": "NETDEV_STREAM_DISCONNECTED",
+#      "data": {"netdev-id": "netdev0"},
+#      "timestamp": {"seconds": 1663330937, "microseconds": 526695} }
 ##
 { 'event': 'NETDEV_STREAM_DISCONNECTED',
   'data': { 'netdev-id': 'str' } }