summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-20 07:54:22 +0000
committerGerrit Code Review <review@openstack.org>2012-08-20 07:54:22 +0000
commit06e36808069abd4e7326d913f5f4e81f07b975aa (patch)
treebf5c546be1d3979604fd0bdbd3b1686d07445d0e /nova/api
parentacd892912764bd33ef408ec4abe72205f70c5084 (diff)
parent02a954afef0b0ed0f0d20125c3dc1e6287790c8e (diff)
downloadnova-06e36808069abd4e7326d913f5f4e81f07b975aa.tar.gz
nova-06e36808069abd4e7326d913f5f4e81f07b975aa.tar.xz
nova-06e36808069abd4e7326d913f5f4e81f07b975aa.zip
Merge "Fix spelling typos"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/ec2utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/api/ec2/ec2utils.py b/nova/api/ec2/ec2utils.py
index e1ea9c6d8..4a7e574ad 100644
--- a/nova/api/ec2/ec2utils.py
+++ b/nova/api/ec2/ec2utils.py
@@ -138,7 +138,7 @@ def id_to_ec2_inst_id(instance_id):
def ec2_inst_id_to_uuid(context, ec2_id):
- """"Convert an instance id to uuid."""
+ """"Convert an instance id to uuid."""
int_id = ec2_id_to_id(ec2_id)
return get_instance_uuid_from_int_id(context, int_id)
@@ -168,7 +168,7 @@ def id_to_ec2_vol_id(volume_id):
def ec2_vol_id_to_uuid(ec2_id):
- """Get the cooresponding UUID for the given ec2-id."""
+ """Get the corresponding UUID for the given ec2-id."""
ctxt = context.get_admin_context()
# NOTE(jgriffith) first strip prefix to get just the numeric
@@ -199,7 +199,7 @@ def get_volume_uuid_from_int_id(context, int_id):
def ec2_snap_id_to_uuid(ec2_id):
- """Get the cooresponding UUID for the given ec2-id."""
+ """Get the corresponding UUID for the given ec2-id."""
ctxt = context.get_admin_context()
# NOTE(jgriffith) first strip prefix to get just the numeric