summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
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