From 02a954afef0b0ed0f0d20125c3dc1e6287790c8e Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 16 Aug 2012 15:07:19 -0500 Subject: Fix spelling typos Fixes for: * nova/*py * nova/scheduler/ * nova/compute/*py * nova/api/ec2/ Change-Id: I7bec89b3551eda84d596e55eeba9ccb9d944a5cb --- nova/compute/api.py | 2 +- nova/compute/manager.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index e7f9368ea..a04eacd78 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -102,7 +102,7 @@ def check_instance_lock(function): if instance['locked'] and not context.is_admin: raise exception.InstanceIsLocked(instance_uuid=instance['uuid']) # NOTE(danms): at this point, we have verified that either - # theinstance is not locked, or the user is suffiently endowed + # the instance is not locked, or the user is sufficiently endowed # that it doesn't matter. While the following statement may be # interpreted as the "the instance is not locked", it actually # refers to the whole condition. diff --git a/nova/compute/manager.py b/nova/compute/manager.py index c0f37d877..f1bd6ffa7 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -2162,7 +2162,7 @@ class ComputeManager(manager.SchedulerDependentManager): pass def get_instance_disk_info(self, context, instance_name): - """Getting infomation of instance's current disk. + """Getting information of instance's current disk. DEPRECATED: This method is no longer used by any current code, but it is left here to provide backwards compatibility in the rpcapi. @@ -2436,7 +2436,7 @@ class ComputeManager(manager.SchedulerDependentManager): """ if not instance: instance = self.db.instance_get(context, instance_id) - LOG.info(_('Post operation of migraton started'), + LOG.info(_('Post operation of migration started'), instance=instance) # NOTE(tr3buchet): setup networks on destination host @@ -2830,7 +2830,7 @@ class ComputeManager(manager.SchedulerDependentManager): # to allow all the hooks and checks to be performed. self.compute_api.stop(context, db_instance) except Exception: - # Note(maoy): there is no need to propergate the error + # Note(maoy): there is no need to propagate the error # because the same power_state will be retrieved next # time and retried. # For example, there might be another task scheduled. -- cgit