From d61887e744a59776e417af6213b949733c3da363 Mon Sep 17 00:00:00 2001
From: Dmitry Tantsur <dtantsur@protonmail.com>
Date: Thu, 17 Oct 2019 16:14:10 +0200
Subject: [PATCH] Correct string formatting in logging

Change-Id: Ibc3656e32b94004da7e895a27860c1fa3ac0bbb1
---
 ironic_python_agent/agent.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ironic_python_agent/agent.py b/ironic_python_agent/agent.py
index 4641b82e3..c9fe2acc1 100644
--- a/ironic_python_agent/agent.py
+++ b/ironic_python_agent/agent.py
@@ -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(