Commit 035566e3 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix node add and RedistributeAncillaryFiles

Commit 28eddce5

 added the
RedistributeAncillaryFiles, but it calls it with a wrong parameter and thus
makes node add fail.

This one-liner fixes it.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 2cc6781a
......@@ -2307,7 +2307,7 @@ class LUAddNode(LogicalUnit):
_RedistributeAncillaryFiles(self)
self.context.ReaddNode(new_node)
else:
_RedistributeAncillaryFiles(self, additional_nodes=node)
_RedistributeAncillaryFiles(self, additional_nodes=[node])
self.context.AddNode(new_node)
......
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