qapi: use valid JSON in schema
PATCH 1/1 qapi: use valid JSON in schema
* qapi-schema.json: JSON doesn't allow trailing commas.
Signed-off-by Eric Blake <[email protected]>
---
a multi-line regex search for ',[ \n]*[]}]' didn't turn up any other violations
qapi-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qapi-schema.json +1 -1
@@ -1600,7 +1600,7 @@ ## { 'union': 'BlockdevAction', 'data': { - 'blockdev-snapshot-sync': 'BlockdevSnapshot', + 'blockdev-snapshot-sync': 'BlockdevSnapshot' } } ##
Signature · 1 line
1.8.1.4
Luiz Capitulino
AppliedQuoted 3 lines · On Wed, 10 Apr 2013 13:12:44 -0600 Eric Blake <[email protected]> wrote:
* qapi-schema.json: JSON doesn't allow trailing commas.
Signed-off-by Eric Blake <[email protected]>
Applied to the qmp branch, thanks.
Quoted 21 lines
---
a multi-line regex search for ',[ \n]*[]}]' didn't turn up any other violations
qapi-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)qapi-schema.json +1
-1@@ -1600,7 +1600,7 @@ ## { 'union': 'BlockdevAction', 'data': { - 'blockdev-snapshot-sync': 'BlockdevSnapshot', + 'blockdev-snapshot-sync': 'BlockdevSnapshot' } } ##