Browse Source

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

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Message-Id: <2019040208.17973-1-chen.zhang@intel.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message rephrased]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
tags/v4.0.0-rc2
Zhang Chen 2 months ago
parent
commit
5cc8f9eb7a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      qapi/migration.json

+ 2
- 2
qapi/migration.json View File

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

Loading…
Cancel
Save