Message ID | 20220401082028.3583296-1-armbru@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix some qapi examples | expand |
On Fri, Apr 01, 2022 at 10:20:28AM +0200, Markus Armbruster wrote: > The example shows {"command": ...}, which is wrong. Fix it to > {"execute": ...}. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > --- > qapi/migration.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qapi/migration.json b/qapi/migration.json > index f74777608a..27d7b28158 100644 > --- a/qapi/migration.json > +++ b/qapi/migration.json > @@ -1845,7 +1845,7 @@ > # Since: 5.2 > # > # Example: > -# {"command": "calc-dirty-rate", "arguments": {"calc-time": 1, > +# {"execute": "calc-dirty-rate", "arguments": {"calc-time": 1, > # 'sample-pages': 512} } > # > ## > -- > 2.35.1 Reviewed-by: Victor Toso <victortoso@redhat.com> Cheers, Victor
diff --git a/qapi/migration.json b/qapi/migration.json index f74777608a..27d7b28158 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1845,7 +1845,7 @@ # Since: 5.2 # # Example: -# {"command": "calc-dirty-rate", "arguments": {"calc-time": 1, +# {"execute": "calc-dirty-rate", "arguments": {"calc-time": 1, # 'sample-pages': 512} } # ##
The example shows {"command": ...}, which is wrong. Fix it to {"execute": ...}. Signed-off-by: Markus Armbruster <armbru@redhat.com> --- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)