summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-10-25 12:54:22 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-10-25 12:54:22 -0700
commit60f3b009f3f846539dfeb2101eec73259553f8ea (patch)
treee2b7f3375ea7902b06c8543e92c902d1c8b00fcd /nova/compute
parent2738a380816b73f35e73f111bd9b4f3ef3101012 (diff)
pep8 cleanup
Diffstat (limited to 'nova/compute')
-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 80931a309..f2e80bff3 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -194,8 +194,8 @@ class ComputeManager(manager.Manager):
instance_ref = self.db.instance_get(context, instance_id)
volume_ref = self.db.volume_get(context, volume_id)
if instance_ref['name'] not in self.driver.list_instances():
- logging.warn("Detaching volume from instance %s that isn't running",
- instance_ref['name'])
+ logging.warn("Detaching volume from unknown instance %s",
+ instance_ref['name'])
else:
yield self.driver.detach_volume(instance_ref['name'],
volume_ref['mountpoint'])