summaryrefslogtreecommitdiff
path: root/tempest/services/compute/json/images_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempest/services/compute/json/images_client.py')
-rw-r--r--tempest/services/compute/json/images_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempest/services/compute/json/images_client.py b/tempest/services/compute/json/images_client.py
index 9877391c4..4af8331f0 100644
--- a/tempest/services/compute/json/images_client.py
+++ b/tempest/services/compute/json/images_client.py
@@ -76,7 +76,7 @@ class ImagesClientJSON(rest_client.RestClient):
def get_image(self, image_id):
"""Returns the details of a single image."""
resp, body = self.get("images/%s" % str(image_id))
- self.expected_success(200, resp)
+ self.expected_success(200, resp.status)
body = json.loads(body)
self.validate_response(schema.get_image, resp, body)
return resp, body['image']