OSDN Git Service

qapi/migration.json: Rename COLOStatus last_mode to last-mode
authorZhang Chen <chen.zhang@intel.com>
Tue, 2 Apr 2019 08:55:21 +0000 (16:55 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 2 Apr 2019 11:32:15 +0000 (13:32 +0200)
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>
qapi/migration.json

index 798c6ac..9cfbaf8 100644 (file)
 # @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)
 #
 # Since: 3.1
 ##
 { 'struct': 'COLOStatus',
-  'data': { 'mode': 'COLOMode', 'last_mode': 'COLOMode',
+  'data': { 'mode': 'COLOMode', 'last-mode': 'COLOMode',
             'reason': 'COLOExitReason' } }
 
 ##