python-manilaclient/releasenotes/notes/bug-1920888-fix-error-in-cli-manila-list-with-sorting-key-availabilityzone-cea5a1f5d8a38fc3.yaml
czl389 69031b558d Fix error in CLI 'manila list' with sorting key 'availability_zone'.
CLI 'manila list --sort-key availability_zone' return http 400 code,
and error message 'Wrong sorting key provided'.

The cause is that sortble key name in sqlAlchemy model field is
'availability_zone_id' , not 'availability_zone'.  So we need a
translation in CLI implement.

Closes-Bug: #1920888
Change-Id: Ied983d85ca08a123b78bf8b05085fad8fe5bc2c5
2021-03-27 10:15:00 +00:00

5 lines
170 B
YAML

---
fixes:
- |
`Launchpad bug 1920888 <https://bugs.launchpad.net/manila/+bug/1920888>`_:
Fix the bug in CLI 'manila list' with sorting key 'availability_zone'.