From 866f2a8563b59d7eec884dc98eece59e15238a63 Mon Sep 17 00:00:00 2001 From: melanie witt Date: Wed, 24 Jul 2024 22:54:29 +0000 Subject: [PATCH] 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 --- doc/source/admin/unified-limits.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/source/admin/unified-limits.rst b/doc/source/admin/unified-limits.rst index f1714914f7..604f75cd27 100644 --- a/doc/source/admin/unified-limits.rst +++ b/doc/source/admin/unified-limits.rst @@ -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: