diff options
author | Victor Toso <victortoso@redhat.com> | 2022-03-28 16:05:55 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2022-03-31 12:34:51 +0200 |
commit | 077a5b1ec39bee4c20f3ba5ca0800cbfe400cde3 (patch) | |
tree | a112b7a7e51826e9641f814cf7e0fa4089545253 /qapi/dump.json | |
parent | 2c29d9b04b5cc430b73f4aedf561752a31dbe856 (diff) |
qapi: fix example of DUMP_COMPLETED event
Example output lacks mandatory member @timestamp. Provide it.
Example output is not properly formatted. Fixing it by:
- Adding '<-' to signalize it is receiving the data;
- Adding extra spaces around members @result, @total and @completed
Signed-off-by: Victor Toso <victortoso@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20220328140604.41484-6-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/dump.json')
-rw-r--r-- | qapi/dump.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qapi/dump.json b/qapi/dump.json index f7c4267e3f..9119c82b14 100644 --- a/qapi/dump.json +++ b/qapi/dump.json @@ -161,9 +161,10 @@ # # Example: # -# { "event": "DUMP_COMPLETED", -# "data": {"result": {"total": 1090650112, "status": "completed", -# "completed": 1090650112} } } +# <- { "event": "DUMP_COMPLETED", +# "data": { "result": { "total": 1090650112, "status": "completed", +# "completed": 1090650112 } }, +# "timestamp": { "seconds": 1648244171, "microseconds": 950316 } } # ## { 'event': 'DUMP_COMPLETED' , |