Message ID | 20220331190633.121077-7-victortoso@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix some qapi examples | expand |
Victor Toso <victortoso@redhat.com> writes: > The example output is missing the mandatory member @last-mode in the > return value. Fix it. > > Signed-off-by: Victor Toso <victortoso@redhat.com> > --- > qapi/migration.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qapi/migration.json b/qapi/migration.json > index 092a63354b..f74777608a 100644 > --- a/qapi/migration.json > +++ b/qapi/migration.json > @@ -1679,7 +1679,7 @@ > # Example: > # > # -> { "execute": "query-colo-status" } > -# <- { "return": { "mode": "primary", "reason": "request" } } > +# <- { "return": { "mode": "primary", "last-mode": "none", "reason": "request" } } > # > # Since: 3.1 > ## Reviewed-by: Markus Armbruster <armbru@redhat.com>
diff --git a/qapi/migration.json b/qapi/migration.json index 092a63354b..f74777608a 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1679,7 +1679,7 @@ # Example: # # -> { "execute": "query-colo-status" } -# <- { "return": { "mode": "primary", "reason": "request" } } +# <- { "return": { "mode": "primary", "last-mode": "none", "reason": "request" } } # # Since: 3.1 ##
The example output is missing the mandatory member @last-mode in the return value. Fix it. Signed-off-by: Victor Toso <victortoso@redhat.com> --- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)