Correct string formatting in logging

Change-Id: Ibc3656e32b94004da7e895a27860c1fa3ac0bbb1
(cherry picked from commit d61887e744)
This commit is contained in:
Dmitry Tantsur
2019-10-17 16:14:10 +02:00
parent 7b17a29b62
commit 19b0b59e02

View File

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