Correct string formatting in logging

Change-Id: Ibc3656e32b94004da7e895a27860c1fa3ac0bbb1
This commit is contained in:
Dmitry Tantsur 2019-10-17 16:14:10 +02:00
parent 5e3153825a
commit d61887e744

View File

@ -393,8 +393,8 @@ class IronicPythonAgent(base.ExecuteCommandMixin):
# an error would be logged.
uuid = inspector.inspect()
except errors.InspectionError as e:
LOG.error('Failed to perform inspection: %(err)s',
{'error': e})
LOG.error('Failed to perform inspection: %s', e)
if self.api_url:
self._wait_for_interface()
content = self.api_client.lookup_node(