cinder/cinder/api
imacdonn ce5f48718d Exclude disabled API versions from listing
The code for listing supported API versions would return a static list,
whether those versions were enabled or not. This changes the logic to
drop versions that are not enabled so we don't report back support for
something that then would cause a failure if the user tried to use it.

Closes-bug: #1788039

Change-Id: I52c1264b3b67a5c1ea00de1c0de5bea04c3096ee
Co-Authored-By: iain MacDonnell <iain.macdonnell@oracle.com>
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
(cherry picked from commit 3ae2bd6728)
(cherry picked from commit 9ec5413eff)
2019-09-26 07:06:23 +00:00
..
contrib Add missing 'target_obj' when perform policy check 2018-08-20 10:46:17 -05:00
middleware Add Keystone v3 domain information to context 2018-04-25 18:12:14 +00:00
openstack Add missing MV history for 3.50 2018-02-05 15:10:01 +08:00
schemas V3 jsonschema validation: volume_type_access 2018-01-22 12:43:46 +05:30
v2 Remove leading and trailing spaces from parameters 2018-01-17 11:45:34 +05:30
v3 Correct attachment create success response code 2019-03-25 20:06:41 -03:00
validation Fix: validation error if the optional parameter's value is None 2018-01-09 03:43:47 -05:00
views Fix version return incorrect when endpoint url end without / 2019-02-25 13:06:39 +00:00
__init__.py Remove API v1 2017-09-06 07:39:10 -05:00
common.py [policy in code] Add support for volume, volume type resources 2017-10-17 09:54:28 +08:00
extensions.py Suppress UT log messages 2017-11-20 09:14:00 -06:00
microversions.py Enable multiattach capability 2018-01-17 16:41:44 -07:00
urlmap.py Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
versions.py Exclude disabled API versions from listing 2019-09-26 07:06:23 +00:00