diff options
author | jichenjc <jichenjc@cn.ibm.com> | 2016-12-21 02:35:18 +0800 |
---|---|---|
committer | John Garbutt <john@johngarbutt.com> | 2017-01-06 14:38:40 +0000 |
commit | e4ae7e91dcc079b70c811eff5b1e6fdb42fc7be6 (patch) | |
tree | cd6d9416be4e105ee6322efaac0a629a9484b8fc /api-ref/source/servers-admin-action.inc | |
parent | a286c16ea07f9ff6e2ee2ae805f1fd354787b1ee (diff) | |
download | nova-e4ae7e91dcc079b70c811eff5b1e6fdb42fc7be6.tar.gz |
correct misleading wording
this schema tells us host is required
https://github.com/openstack/nova/blob/master/nova/api/
openstack/compute/schemas/migrate_server.py#L33
and also param say it's required, but the doc says 'if you omit'
will misleading user ,actually, user can't omit it, they need
to input null to let scheduler decide
Implements: blueprint api-ref-in-rst-ocata
Change-Id: I2661c85f32eff8e199856635a4c40a494a5decb6
Diffstat (limited to 'api-ref/source/servers-admin-action.inc')
-rw-r--r-- | api-ref/source/servers-admin-action.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api-ref/source/servers-admin-action.inc b/api-ref/source/servers-admin-action.inc index f3508fee73..cef4771c29 100644 --- a/api-ref/source/servers-admin-action.inc +++ b/api-ref/source/servers-admin-action.inc @@ -145,8 +145,8 @@ Live-migrates a server to a new host without rebooting. Specify the ``os-migrateLive`` action in the request body. -Use the ``host`` parameter to specify the destination host. If you -omit this parameter, the scheduler chooses a host. If a scheduled host +Use the ``host`` parameter to specify the destination host. If +this param is ``null``, the scheduler chooses a host. If a scheduled host is not suitable to do migration, the scheduler tries up to ``migrate_max_retries`` rescheduling attempts. |