summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/api/openstack/compute/images.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/api/openstack/compute/images.py b/nova/api/openstack/compute/images.py
index fed326f66..76022a627 100644
--- a/nova/api/openstack/compute/images.py
+++ b/nova/api/openstack/compute/images.py
@@ -94,15 +94,13 @@ class Controller(wsgi.Controller):
_view_builder_class = views_images.ViewBuilder
- def __init__(self, image_service=None, compute_service=None, **kwargs):
+ def __init__(self, image_service=None, **kwargs):
"""Initialize new `ImageController`.
- :param compute_service: `nova.compute.api:API`
:param image_service: `nova.image.glance:GlancemageService`
"""
super(Controller, self).__init__(**kwargs)
- self._compute_service = compute_service or compute.API()
self._image_service = image_service or \
nova.image.get_default_image_service()