Merge "Fix quota show output"
This commit is contained in:
commit
1880527e60
@ -273,6 +273,10 @@ class ShowQuota(command.ShowOne):
|
||||
volume_quota_info = self.get_compute_volume_quota(volume_client,
|
||||
parsed_args)
|
||||
network_quota_info = self.get_network_quota(parsed_args)
|
||||
# NOTE(reedip): Remove the below check once requirement for
|
||||
# Openstack SDK is fixed to version 0.9.12 and above
|
||||
if type(network_quota_info) is not dict:
|
||||
network_quota_info = network_quota_info.to_dict()
|
||||
|
||||
info = {}
|
||||
info.update(compute_quota_info)
|
||||
|
6
releasenotes/notes/bug-1655537-20b0eb676afa278f.yaml
Normal file
6
releasenotes/notes/bug-1655537-20b0eb676afa278f.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed a ``'Quota' object is not iterable`` error in the ``quota show`` command
|
||||
that appeared with the initial release of openstacksdk v0.9.11 and v0.9.12.
|
||||
[Bug `1655537 <https://bugs.launchpad.net/bugs/1655537>`_]
|
Loading…
x
Reference in New Issue
Block a user