diff options
| author | Matt Riedemann <mriedem.os@gmail.com> | 2018-06-08 16:59:08 -0400 |
|---|---|---|
| committer | Matt Riedemann <mriedem.os@gmail.com> | 2019-03-07 14:41:09 -0500 |
| commit | 626a3a021c50759841804eeb9aad832ea9e57551 (patch) | |
| tree | ce142469e4835765e819330dd11ab168203d1ee5 /openstackclient | |
| parent | 7feb9d38d0f6b3a92fcd80d7fac639aded5a5e76 (diff) | |
| download | python-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')
| -rw-r--r-- | openstackclient/common/quota.py | 5 |
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) |
