fix misspelling of 'return'

Change-Id: Ibaca0172e23db35a0a6c18ee7f3bc5564271d050
This commit is contained in:
pangliye 2018-02-09 14:18:44 +08:00
parent baaaac8334
commit c17bc17552
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ class EngineManager(base_manager.BaseEngineManager):
LOG.warning(
("Failed to retrieve node list when synchronizing power "
"states: %(msg)s") % {"msg": e})
# Just retrun if we fail to get nodes real power state.
# Just return if we fail to get nodes real power state.
return
node_dict = {node.instance_uuid: node for node in nodes
@ -247,7 +247,7 @@ class EngineManager(base_manager.BaseEngineManager):
LOG.warning(
"Failed to retrieve node list when synchronizing "
"maintenance states: %(msg)s" % {"msg": e})
# Just retrun if we fail to get nodes maintenance state.
# Just return if we fail to get nodes maintenance state.
return
node_dict = {node.instance_uuid: node for node in nodes}