Merge "Fix two typos"
This commit is contained in:
commit
01af4f8808
@ -277,7 +277,7 @@ class TaskManager(object):
|
|||||||
:param event: the name of the event to process
|
:param event: the name of the event to process
|
||||||
:param callback: optional callback to invoke upon event transition
|
:param callback: optional callback to invoke upon event transition
|
||||||
:param call_args: optional *args to pass to the callback method
|
:param call_args: optional *args to pass to the callback method
|
||||||
:param call_kwargs: optional **kwargs to pass to to the callback method
|
:param call_kwargs: optional **kwargs to pass to the callback method
|
||||||
:param err_handler: optional error handler to invoke if the
|
:param err_handler: optional error handler to invoke if the
|
||||||
callback fails, eg. because there are no workers available
|
callback fails, eg. because there are no workers available
|
||||||
(err_handler should accept arguments node, prev_prov_state, and
|
(err_handler should accept arguments node, prev_prov_state, and
|
||||||
|
@ -121,7 +121,7 @@ def node_power_action(task, new_state):
|
|||||||
else:
|
else:
|
||||||
# success!
|
# success!
|
||||||
node['power_state'] = target_state
|
node['power_state'] = target_state
|
||||||
LOG.info(_LI('Succesfully set node %(node)s power state to '
|
LOG.info(_LI('Successfully set node %(node)s power state to '
|
||||||
'%(state)s.'),
|
'%(state)s.'),
|
||||||
{'node': node.uuid, 'state': target_state})
|
{'node': node.uuid, 'state': target_state})
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user