docs: Correct unified limits CLI commands
The 'openstack (registered )limit set' command examples are incorrectly showing use of the --resource-name option. The --resource-name option is only to be used to update the name of a limit's resource and will actually result in a 409 error if the specified name already exists. This removes --resource-name from those examples. Change-Id: I785fce1ba927894cb3b1a2a13c4e8eaf91930f5b
This commit is contained in:
@@ -226,8 +226,7 @@ To update a default limit:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
openstack registered limit set --resource-name $RESOURCE \
|
||||
--default-limit $LIMIT $REGISTERED_LIMIT_ID
|
||||
openstack registered limit set --default-limit $LIMIT $REGISTERED_LIMIT_ID
|
||||
|
||||
To delete a default limit:
|
||||
|
||||
@@ -267,8 +266,7 @@ To update a project limit:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
openstack limit set --resource-name $RESOURCE --resource-limit $LIMIT \
|
||||
$LIMIT_ID
|
||||
openstack limit set --resource-limit $LIMIT $LIMIT_ID
|
||||
|
||||
To delete a project limit:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user