summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorMohammed Naser <mnaser@vexxhost.com>2011-07-25 21:14:08 +0000
committerTarmac <>2011-07-25 21:14:08 +0000
commiteba9e4abd6271e0265899a2d260b54068d78ee51 (patch)
treed824c97c73f345cf67c6c0ee60df6d5671ed4431 /nova/api
parent335476d1835a511d824a165301adace01766bf3b (diff)
parent67ccc98d6a0d9e8618889fd9fa398a39735d044a (diff)
Fixes a typo in rescue instance in ec2 api. This is mnaser's fix, I just added a test to verify the change.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index 16ca1ed2a..4bb473765 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -1147,7 +1147,7 @@ class CloudController(object):
def rescue_instance(self, context, instance_id, **kwargs):
"""This is an extension to the normal ec2_api"""
- self._do_instance(self.compute_api.rescue, contect, instnace_id)
+ self._do_instance(self.compute_api.rescue, context, instance_id)
return True
def unrescue_instance(self, context, instance_id, **kwargs):