fix misspelling of 'return'
Change-Id: Ibaca0172e23db35a0a6c18ee7f3bc5564271d050
This commit is contained in:
parent
baaaac8334
commit
c17bc17552
@ -141,7 +141,7 @@ class EngineManager(base_manager.BaseEngineManager):
|
|||||||
LOG.warning(
|
LOG.warning(
|
||||||
("Failed to retrieve node list when synchronizing power "
|
("Failed to retrieve node list when synchronizing power "
|
||||||
"states: %(msg)s") % {"msg": e})
|
"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
|
return
|
||||||
|
|
||||||
node_dict = {node.instance_uuid: node for node in nodes
|
node_dict = {node.instance_uuid: node for node in nodes
|
||||||
@ -247,7 +247,7 @@ class EngineManager(base_manager.BaseEngineManager):
|
|||||||
LOG.warning(
|
LOG.warning(
|
||||||
"Failed to retrieve node list when synchronizing "
|
"Failed to retrieve node list when synchronizing "
|
||||||
"maintenance states: %(msg)s" % {"msg": e})
|
"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
|
return
|
||||||
|
|
||||||
node_dict = {node.instance_uuid: node for node in nodes}
|
node_dict = {node.instance_uuid: node for node in nodes}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user