From 9d5198ad52bc441f8e8b0eae87a6dc27afd253e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com> Date: Thu, 9 Dec 2010 14:07:37 +0100 Subject: [PATCH] Replace GetOobProgram by GetNdParams MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: RenΓ© Nussbaumer <rn@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index ed866bea4..f5c3fcbcb 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -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" % -- GitLab