summaryrefslogtreecommitdiff
path: root/openstackclient/compute
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-30 13:12:00 +0000
committerGerrit Code Review <review@openstack.org>2022-09-30 13:12:00 +0000
commitadac63efe1346ca832046c054937d11ee57914e7 (patch)
tree862169845b8614c26c6512936e909737a2b1c450 /openstackclient/compute
parentec43d63182bf9412a6fd40b42bb57959b712620d (diff)
parentec8dba29f9f646ec05c0d6fad32b4b3aaf99f6af (diff)
downloadpython-openstackclient-adac63efe1346ca832046c054937d11ee57914e7.tar.gz
Merge "Speed up standard flavor list command"
Diffstat (limited to 'openstackclient/compute')
-rw-r--r--openstackclient/compute/v2/flavor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/compute/v2/flavor.py b/openstackclient/compute/v2/flavor.py
index 8a9eb07a..bc8f758b 100644
--- a/openstackclient/compute/v2/flavor.py
+++ b/openstackclient/compute/v2/flavor.py
@@ -333,7 +333,7 @@ class ListFlavor(command.Lister):
# Even if server supports 2.61 some policy might stop it sending us
# extra_specs. So try to fetch them if they are absent
for f in data:
- if not f.extra_specs:
+ if parsed_args.long and not f.extra_specs:
compute_client.fetch_flavor_extra_specs(f)
columns = (