summaryrefslogtreecommitdiff
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/metadata/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/metadata/base.py b/nova/api/metadata/base.py
index e608f6dff6..215029fd5a 100644
--- a/nova/api/metadata/base.py
+++ b/nova/api/metadata/base.py
@@ -406,7 +406,7 @@ class InstanceMetadata(object):
else:
LOG.debug('Metadata for device with unknown bus %s '
'has not been included in the '
- 'output' % device.bus.__class__.__name__)
+ 'output', device.bus.__class__.__name__)
continue
if 'address' in device.bus:
address = device.bus.address
@@ -424,7 +424,7 @@ class InstanceMetadata(object):
else:
LOG.debug('Metadata for device of unknown type %s has not '
'been included in the '
- 'output' % device.__class__.__name__)
+ 'output', device.__class__.__name__)
continue
device_metadata['bus'] = bus