summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorAmey Bhide <abhide@vmware.com>2015-04-30 16:38:19 -0700
committerAmey Bhide <abhide@vmware.com>2015-05-01 08:44:59 -0700
commit1bb4bb3baf4a67c6bb2146746c1674fb7804cd4f (patch)
tree595b8722219dc629f6a15ab6c8725a1bb767544e /openstackclient/image
parent28f65e665045c1c6d0697f856f06020c7c8e656a (diff)
downloadpython-openstackclient-1bb4bb3baf4a67c6bb2146746c1674fb7804cd4f.tar.gz
Minor fix to openstack image show command
image show using V2 api was failing. openstack --os-image-api-version 2 image show <image_id> ERROR: openstack _info Closes-Bug: #1450829 Change-Id: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c
Diffstat (limited to 'openstackclient/image')
-rw-r--r--openstackclient/image/v2/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py
index 99bf2674..0b2becb8 100644
--- a/openstackclient/image/v2/image.py
+++ b/openstackclient/image/v2/image.py
@@ -248,5 +248,5 @@ class ShowImage(show.ShowOne):
)
info = {}
- info.update(image._info)
+ info.update(image)
return zip(*sorted(six.iteritems(info)))