summaryrefslogtreecommitdiffstats
path: root/nova/image
diff options
context:
space:
mode:
Diffstat (limited to 'nova/image')
-rw-r--r--nova/image/glance.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py
index b61cba10e..cc3192e7c 100644
--- a/nova/image/glance.py
+++ b/nova/image/glance.py
@@ -203,10 +203,6 @@ class GlanceImageService(nova.image.service.BaseImageService):
:raises AlreadyExists if the image already exist.
"""
- instance_id = data["instance_id"]
- name = data["name"]
- compute_api.ComputeAPI().snapshot(context, instance_id, name)
- # FIXME(sirp): This needs to be reworked for new-style glance
return self.parallax.add_image_metadata(data)
def update(self, context, image_id, data):