Improve warning message in conductor.utils.node_power_action()

This patch removed unnecessary underscore '_' from an warning message
in conductor.utils.node_power_action().
This is a reflection of iRMC vendor passthru code review comment [1]
to the original referenced source code.

[1] https://review.openstack.org/#/c/187082/3/ironic/drivers/modules/irmc/power.py

Change-Id: Ia3923b74a5a464fe90c491bc2154e785c32ee58e
This commit is contained in:
Naohiro Tamura 2015-06-26 15:38:48 +09:00
parent 1beb8ca607
commit 6825ef3cb7
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def node_power_action(task, new_state):
node['power_state'] = new_state
node['target_power_state'] = states.NOSTATE
node.save()
LOG.warn(_LW("Not going to change_node_power_state because "
LOG.warn(_LW("Not going to change node power state because "
"current state = requested state = '%(state)s'."),
{'state': curr_state})
return