Fix broken log message.

The log message had the wrong variable name. Update the variable name
to match the dictionary supplied.

This was detected with my patch which detects mis-formatted log
messages.

Change-Id: Ic352ce13550f811f7d6e2f3dddd54714ea8b2d9b
This commit is contained in:
John L. Villalovos 2018-02-09 06:53:25 -08:00
parent 9a2ebde83f
commit 2d0dab2bab

View File

@ -368,7 +368,7 @@ def deallocate_server_hardware_from_ironic(task):
task.driver.power.set_power_state(task, states.POWER_OFF)
oneview_client.server_profiles.delete(server_profile_uri)
_del_applied_server_profile_uri_field(node)
LOG.info("Server Profile %(server_profile_uuid)s was deleted "
LOG.info("Server Profile %(server_profile_uri)s was deleted "
"from node %(node_uuid)s in OneView.",
{'server_profile_uri': server_profile_uri,
'node_uuid': node.uuid})