Commit 8bd562f5 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix one wrong usage of _GetWantedNodes

_GetWantedNodes is used wrongly by the LUClusterCopyFile. This fixes that.

Reviewed-by: imsnah
parent 31ee599c
......@@ -1592,7 +1592,7 @@ class LUClusterCopyFile(NoHooksLU):
myname = socket.gethostname()
for node in self.nodes:
for node in [node.name for node in self.nodes]:
if node == myname:
continue
if not ssh.CopyFileToNode(node, filename):
......
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