summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanou Ishii <ishii.vanou@fujitsu.com>2023-04-24 07:02:10 -0400
committerVanou Ishii <ishii.vanou@fujitsu.com>2023-04-24 07:02:10 -0400
commite0c0b771efb6c4d63ac80a53c76e07b95f4f2fcc (patch)
treecbe7e713bbf36979fc791ffd79b3e7e7e99137a2
parent7083545731a8d5009f113f87b07710be833b627a (diff)
downloadironic-e0c0b771efb6c4d63ac80a53c76e07b95f4f2fcc.tar.gz
[iRMC] Fix typo of Python string format in log message
This patch fixes Python string format mistake in log message of iRMC driver. Change-Id: Ib58ae51849cbb06b3dcd6222d5b4ddacd2fbe230
-rw-r--r--ironic/drivers/modules/irmc/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/drivers/modules/irmc/inspect.py b/ironic/drivers/modules/irmc/inspect.py
index f7c2ad7ba..64708ff9b 100644
--- a/ironic/drivers/modules/irmc/inspect.py
+++ b/ironic/drivers/modules/irmc/inspect.py
@@ -236,7 +236,7 @@ def _inspect_hardware(node, existing_traits=None, **kwargs):
"with the server, please check if you have set them "
"correctly.")
error = (_("Inspection failed for node %(node_id)s "
- "with the following error: %(error)s. (advice)s") %
+ "with the following error: %(error)s. %(advice)s") %
{'node_id': node.uuid, 'error': e, 'advice': advice})
raise exception.HardwareInspectionFailure(error=error)