openstack-python-openstackc.../openstackclient
Pavlo Shchelokovskyy ec8dba29f9 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
2022-09-30 11:53:00 +01:00
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Merge "Fix typos" 2022-05-16 09:36:14 +00:00
compute Speed up standard flavor list command 2022-09-30 11:53:00 +01:00
identity Fix typos 2021-10-26 15:53:51 +02:00
image image: Split image creation depending on service 2022-06-30 11:54:45 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Add router ndp proxy commands 2022-08-26 08:15:43 +08:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests Speed up standard flavor list command 2022-09-30 11:53:00 +01:00
volume Merge "volume: Correct output of 'volume attachment create'" 2022-06-27 15:54:20 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00