summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorEd Leafe <ed@leafe.com>2011-01-06 07:21:11 -0600
committerEd Leafe <ed@leafe.com>2011-01-06 07:21:11 -0600
commit0209ad587b2d8d35a7abdf60ca9b33391cab4a83 (patch)
tree355800d301ae5c691bcd35d7e882671b86ae2a53 /nova
parent504e9a62b39f5743d8a1d8993705e56e07d78a14 (diff)
merged trunk changes
Diffstat (limited to 'nova')
-rw-r--r--nova/compute/api.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 476667fa8..19cdf2d0a 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -61,13 +61,11 @@ class API(base.Base):
def get_network_topic(self, context, instance_id):
try:
-<<<<<<< TREE
instance = self.get_instance(context, instance_id)
+ # TODO (dabo) Need to verify whether an internal_id or a db id
+ # id being passed; use get_instance or get, respectively.
+ #instance = self.get(context, instance_id)
except exception.NotFound, e:
-=======
- instance = self.get(context, instance_id)
- except exception.NotFound as e:
->>>>>>> MERGE-SOURCE
logging.warning("Instance %d was not found in get_network_topic",
instance_id)
raise e