qapi/migration.json: Rename COLOStatus last_mode to last-mode

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Message-Id: <20190402085521.17973-1-chen.zhang@intel.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message rephrased]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Zhang Chen 2019-04-02 16:55:21 +08:00 committed by Markus Armbruster
parent 966c0d4932
commit 5cc8f9eb7a
1 changed files with 2 additions and 2 deletions

View File

@ -1380,7 +1380,7 @@
# @mode: COLO running mode. If COLO is running, this field will return
# 'primary' or 'secondary'.
#
# @last_mode: COLO last running mode. If COLO is running, this field
# @last-mode: COLO last running mode. If COLO is running, this field
# will return same like mode field, after failover we can
# use this field to get last colo mode. (since 4.0)
#
@ -1389,7 +1389,7 @@
# Since: 3.1
##
{ 'struct': 'COLOStatus',
'data': { 'mode': 'COLOMode', 'last_mode': 'COLOMode',
'data': { 'mode': 'COLOMode', 'last-mode': 'COLOMode',
'reason': 'COLOExitReason' } }
##