Commit 4c3ac53a authored by René Nussbaumer's avatar René Nussbaumer
Browse files

LUAddNode: default ndparams to empty dict when not provided


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent a1de4b18
......@@ -4249,6 +4249,8 @@ class LUAddNode(LogicalUnit):
if self.op.ndparams:
new_node.ndparams = self.op.ndparams
else:
new_node.ndparams = {}
# check connectivity
result = self.rpc.call_version([node])[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