Fix error message not interpolated
Change-Id: I19bd8b83b2537ac682be86b9bb71509fb40bdcd7
This commit is contained in:
parent
3f34f04bf0
commit
23b61e2ba8
@ -165,7 +165,7 @@ class RedfishInspect(base.InspectInterface):
|
||||
missing_keys = valid_keys - set(inspected_properties)
|
||||
if missing_keys:
|
||||
error = (_('Failed to discover the following properties: '
|
||||
'%(missing_keys)s on node %(node)s'),
|
||||
'%(missing_keys)s on node %(node)s') %
|
||||
{'missing_keys': ', '.join(missing_keys),
|
||||
'node': task.node.uuid})
|
||||
raise exception.HardwareInspectionFailure(error=error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user