summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-06-08 16:59:08 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2019-03-07 14:41:09 -0500
commit626a3a021c50759841804eeb9aad832ea9e57551 (patch)
treece142469e4835765e819330dd11ab168203d1ee5 /openstackclient/common
parent7feb9d38d0f6b3a92fcd80d7fac639aded5a5e76 (diff)
downloadpython-openstackclient-626a3a021c50759841804eeb9aad832ea9e57551.tar.gz
Mention compute API 2.50 in openstack quota show --class
There is a bug in the compute API until microversion 2.50 where the server-groups and server-group-members class quota fields aren't returned. This just mentions that microversion in the command help text. Change-Id: I029a614a922d642c578618c478c4d0a29a394fc2 Task: 21490 Story: 2002194
Diffstat (limited to 'openstackclient/common')
-rw-r--r--openstackclient/common/quota.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py
index dba6873f..dae1b18e 100644
--- a/openstackclient/common/quota.py
+++ b/openstackclient/common/quota.py
@@ -570,7 +570,10 @@ class SetQuota(command.Command):
class ShowQuota(command.ShowOne, BaseQuota):
- _description = _("Show quotas for project or class")
+ _description = _(
+ "Show quotas for project or class. Specify "
+ "``--os-compute-api-version 2.50`` or higher to see ``server-groups`` "
+ "and ``server-group-members`` output for a given quota class.")
def get_parser(self, prog_name):
parser = super(ShowQuota, self).get_parser(prog_name)