Commit 9d5198ad authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Replace GetOobProgram by GetNdParams



This was due to a older review which used GetOobProgram but then
changed to GetNdParams. Forgot to adjust this in the LU before.
Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 1aa88d95
......@@ -3243,7 +3243,7 @@ class LUOutOfBand(NoHooksLU):
if node is None:
raise errors.OpPrereqError("Node %s not found" % self.op.node_name)
self.oob_program = self.cfg.GetOobProgram(node)
self.oob_program = self.cfg.GetNdParams(node)[constants.ND_OOB_PROGRAM]
if not self.oob_program:
raise errors.OpPrereqError("OOB is not supported for node %s" %
......
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