summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-05-23 21:55:15 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-05-23 21:55:15 -0400
commita5efbca08a6b057290622ba5938f87d2e44be3eb (patch)
treeddc335b35d8d4e3e46f79e3c500d61423847da31 /nova/compute
parentbac28418b7b92aa2654fad39d0240a85aa637488 (diff)
take out irrelevant TODO
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 47f7a594f..7ffe9c90c 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -525,8 +525,7 @@ class API(base.Base):
'user_id': str(context.user_id)}
sent_meta = {'name': name, 'is_public': False,
'properties': properties}
- # TODO(wwolf): not sure if we need to use
- # utils.get_image_service() here ?
+
recv_meta = self.image_service.create(context, sent_meta)
params = {'image_id': recv_meta['id']}
self._cast_compute_message('snapshot_instance', context, instance_id,