From e0c0b771efb6c4d63ac80a53c76e07b95f4f2fcc Mon Sep 17 00:00:00 2001 From: Vanou Ishii Date: Mon, 24 Apr 2023 07:02:10 -0400 Subject: [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 --- ironic/drivers/modules/irmc/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1