Supported API versions list should be sorted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Low
|
Kyrylo Romanenko |
Bug Description
When using some openstack command with unsupported API version,
then OSC lists available API versions. Lists is unsorted and hardly readable.
Example:
2016-10-05 16:06:45.250650 | 2016-10-05 16:06:45.249 | stderr:
2016-10-05 16:06:45.252002 | 2016-10-05 16:06:45.251 | baremetal version 1.21 is not in supported versions 1.8, 1.9, 1.6, 1.7, 1.4, 1.5, 1.2, 1.3, 1, 1.1, 1.20, 1.18, 1.19, 1.14, 1.15, 1.16, 1.17, 1.10, 1.11, 1.12, 1.13
2016-10-05 16:06:45.253311 | 2016-10-05 16:06:45.252 | Invalid baremetal client version '1.21'. must be one of: 1.8, 1.9, 1.6, 1.7, 1.4, 1.5, 1.2, 1.3, 1, 1.1, 1.20, 1.18, 1.19, 1.14, 1.15, 1.16, 1.17, 1.10, 1.11, 1.12, 1.13
Sorted output of versions would be better for usage.
Expected example of sorting: '1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.21, 1.22, 1.23, 1.24'
Changed in python-openstackclient: | |
assignee: | nobody → Kyrylo Romanenko (kromanenko) |
description: | updated |
Changed in python-openstackclient: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/382923
Review: https:/