summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Harris <rick.harris@rackspace.com>2011-03-03 18:21:54 +0000
committerRick Harris <rick.harris@rackspace.com>2011-03-03 18:21:54 +0000
commitc363c2aaacb01cbbe8dcdaa4bda2e5d2531ab8e8 (patch)
tree70275bc3298db5f5566471080d823c302db248e8
parent458bf9682df0514a7f180f1ab1566bb7846cd281 (diff)
downloadnova-c363c2aaacb01cbbe8dcdaa4bda2e5d2531ab8e8.tar.gz
nova-c363c2aaacb01cbbe8dcdaa4bda2e5d2531ab8e8.tar.xz
nova-c363c2aaacb01cbbe8dcdaa4bda2e5d2531ab8e8.zip
Use %s in case instance_id came through as a string
-rw-r--r--nova/compute/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 35a7d7bc0..5f68fcc4d 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -319,12 +319,12 @@ class API(base.Base):
try:
instance = self.get(context, instance_id)
except exception.NotFound:
- LOG.warning(_("Instance %d was not found during terminate"),
+ LOG.warning(_("Instance %s was not found during terminate"),
instance_id)
raise
if (instance['state_description'] == 'terminating'):
- LOG.warning(_("Instance %d is already being terminated"),
+ LOG.warning(_("Instance %s is already being terminated"),
instance_id)
return