summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-11-13 15:23:19 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-11-13 15:26:46 +0100
commit52c8137b4bda71356ff00e6fb76eb3e22114711f (patch)
tree71a150cfe1352b3f37d5b118cb37fcbef952544c
parent20572809f2d8fefd72a7a059c4e82462a0d66262 (diff)
downloadnova-52c8137b4bda71356ff00e6fb76eb3e22114711f.tar.gz
[docs] Fix a placement client's command
For amending a single value, `--amend` switch is required to be used. Otherwise Placement will return 400 about required properties being missing. Change-Id: Ia94be98dea22f97bc89201ee2a0a1a4e6b54c875
-rw-r--r--doc/source/admin/configuration/schedulers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/admin/configuration/schedulers.rst b/doc/source/admin/configuration/schedulers.rst
index 9fec2b7236..f0af0762f3 100644
--- a/doc/source/admin/configuration/schedulers.rst
+++ b/doc/source/admin/configuration/schedulers.rst
@@ -945,7 +945,7 @@ here.
.. code-block:: console
- $ openstack resource provider inventory set --resource VCPU:allocation_ratio=1.0 815a5634-86fb-4e1e-8824-8a631fee3e06
+ $ openstack resource provider inventory set --resource VCPU:allocation_ratio=1.0 --amend 815a5634-86fb-4e1e-8824-8a631fee3e06
3. When the deployer wants to **always** use the placement API to set
allocation ratios, then the deployer should ensure that