Fix availability zone list command · openstack/python-openstackclient@f3207bd · GitHub
Skip to content

Commit f3207bd

Browse files
committed
Fix availability zone list command
there are two problems currently: - SDK's `availability_zones()` returns a generator that raises errors only when actually accessing its items - the error raised is the sdk exception, not nova one, and thus is not being handled correctly As a result, currently nova AZs can not be listed by non-admins. Story: 2010989 Task: 49220 Change-Id: Ia299faea85857d3fc3a9b539800f3483f84ccbc0
1 parent 2642b07 commit f3207bd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

openstackclient/common/availability_zone.py

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)