summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWangpan <hzwangpan@corp.netease.com>2013-01-28 14:01:10 +0800
committerWangpan <hzwangpan@corp.netease.com>2013-01-28 16:35:12 +0800
commit765147a9ce429c560a4be1869ac5d33bcc05ec6c (patch)
tree228557f222c5f527d8711a1292f759111764c122
parente1ce3878b951ea491548c129453bb84a77205649 (diff)
downloadnova-765147a9ce429c560a4be1869ac5d33bcc05ec6c.tar.gz
nova-765147a9ce429c560a4be1869ac5d33bcc05ec6c.tar.xz
nova-765147a9ce429c560a4be1869ac5d33bcc05ec6c.zip
Fix a typo of log message in _poll_unconfirmed_resizes
That is just a negligible typo issue, so I have not filed a bug on LP. The typo log message is like "notRESIZED/None", and should be "not RESIZED/None". Change-Id: I6137b477185419b1e638be3ed5310644aff96d76
-rw-r--r--nova/compute/manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 275611cdf..dbfee2469 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -3069,8 +3069,8 @@ class ComputeManager(manager.SchedulerDependentManager):
vm_state = instance['vm_state']
task_state = instance['task_state']
if vm_state != vm_states.RESIZED or task_state is not None:
- reason = _("In states %(vm_state)s/%(task_state)s, not"
- "RESIZED/None")
+ reason = _("In states %(vm_state)s/%(task_state)s, not "
+ "RESIZED/None")
_set_migration_to_error(migration, reason % locals(),
instance=instance)
continue