From 1bb4bb3baf4a67c6bb2146746c1674fb7804cd4f Mon Sep 17 00:00:00 2001 From: Amey Bhide Date: Thu, 30 Apr 2015 16:38:19 -0700 Subject: [PATCH] Minor fix to openstack image show command image show using V2 api was failing. openstack --os-image-api-version 2 image show ERROR: openstack _info Closes-Bug: #1450829 Change-Id: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c --- openstackclient/image/v2/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py index 99bf26741..0b2becb85 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)))