diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-03-04 06:54:52 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-04 06:54:52 +0000 |
| commit | 2280848e8477c33f2a903eb7f821dcbcc90ce307 (patch) | |
| tree | 70275bc3298db5f5566471080d823c302db248e8 | |
| parent | 458bf9682df0514a7f180f1ab1566bb7846cd281 (diff) | |
| parent | c363c2aaacb01cbbe8dcdaa4bda2e5d2531ab8e8 (diff) | |
| download | nova-2280848e8477c33f2a903eb7f821dcbcc90ce307.tar.gz nova-2280848e8477c33f2a903eb7f821dcbcc90ce307.tar.xz nova-2280848e8477c33f2a903eb7f821dcbcc90ce307.zip | |
Use %s for instance-delete logging in case instance_id comes through as a string.
| -rw-r--r-- | nova/compute/api.py | 4 |
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 |
