Skip to content

Commit c305ac2

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Mention compute API 2.50 in openstack quota show --class"
2 parents e59b9f4 + 626a3a0 commit c305ac2

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

doc/source/cli/command-objects/quota.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ Set quotas for class
244244
quota show
245245
----------
246246

247-
Show quotas for project or class
247+
Show quotas for project or class. Specify ``--os-compute-api-version 2.50`` or
248+
higher to see ``server-groups`` and ``server-group-members`` output for a given
249+
quota class.
248250

249251
.. program:: quota show
250252
.. code:: bash

openstackclient/common/quota.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,10 @@ def take_action(self, parsed_args):
570570

571571

572572
class ShowQuota(command.ShowOne, BaseQuota):
573-
_description = _("Show quotas for project or class")
573+
_description = _(
574+
"Show quotas for project or class. Specify "
575+
"``--os-compute-api-version 2.50`` or higher to see ``server-groups`` "
576+
"and ``server-group-members`` output for a given quota class.")
574577

575578
def get_parser(self, prog_name):
576579
parser = super(ShowQuota, self).get_parser(prog_name)

0 commit comments

Comments
 (0)