Commit f667baab authored by Thomas Thrainer's avatar Thomas Thrainer
Browse files

Rename variable to reflect its content

Rename the "node" variable to "node_uuid" as that's the content it
actually receives.
Signed-off-by: default avatarThomas Thrainer <>
Reviewed-by: default avatarKlaus Aehlig <>
parent 27619aac
......@@ -934,9 +934,9 @@ def _CheckNodesFreeDiskOnVG(lu, node_uuids, vg, requested):
nodeinfo = _PerformNodeInfoCall(lu, node_uuids, vg)
for node in node_uuids:
node_name = lu.cfg.GetNodeName(node)
info = nodeinfo[node]
for node_uuid in node_uuids:
node_name = lu.cfg.GetNodeName(node_uuid)
info = nodeinfo[node_uuid]
info.Raise("Cannot get current information from node %s" % node_name,
prereq=True, ecode=errors.ECODE_ENVIRON)
_CheckVgCapacityForNode(node_name, info.payload, vg, requested)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment