summaryrefslogtreecommitdiff
path: root/openstackclient/api
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2022-08-05 14:03:21 +0300
committerStephen Finucane <sfinucan@redhat.com>2022-09-30 11:53:00 +0100
commitec8dba29f9f646ec05c0d6fad32b4b3aaf99f6af (patch)
treea1589bf23ca70adf67eaf6c25003839ef2caa54a /openstackclient/api
parent00d8d945a1869b723b9845b3e739928a7c4da00a (diff)
downloadpython-openstackclient-ec8dba29f9f646ec05c0d6fad32b4b3aaf99f6af.tar.gz
Speed up standard flavor list command
currently this command tries to fetch extra_specs for any flavor that does not have them (which is quite usual), regardless if the command was even asked to display them (--long) at all. This significantly slows down this command as it makes a lot of unnecessary REST calls, one per each flavor to fetch extra_specs for. With this patch, client only attempts to fetch flavor extra_specs if the user actually called the client with --long. Change-Id: Ia36414d891a41b641d7a9a04f0a1e7d43cfee351 Story: 2010343 Task: 46484
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions