summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/images.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py
index 2a3f9e070..5508e7d50 100644
--- a/nova/api/openstack/images.py
+++ b/nova/api/openstack/images.py
@@ -50,7 +50,8 @@ class Controller(common.OpenstackController):
"""
self._compute_service = compute_service or compute.API()
- self._image_service = image_service or utils.get_default_image_service()
+ self._image_service = image_service or \
+ utils.get_default_image_service()
def index(self, req):
"""Return an index listing of images available to the request.