From 0092d621a596c824497763da25e6f60fb461c878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com> Date: Thu, 9 Dec 2010 14:05:20 +0100 Subject: [PATCH] Adding missing timeout parameter to rpc interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RenΓ© Nussbaumer <rn@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/rpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpc.py b/lib/rpc.py index 1c2065d15..c81c366b2 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -1177,14 +1177,14 @@ class RpcRunner(object): return cls._StaticMultiNodeCall(node_list, "write_ssconf_files", [values]) @_RpcTimeout(_TMO_NORMAL) - def call_run_oob(self, node, oob_program, command, remote_node): + def call_run_oob(self, node, oob_program, command, remote_node, timeout): """Runs OOB. This is a single-node call. """ return self._SingleNodeCall(node, "run_oob", [oob_program, command, - remote_node]) + remote_node, timeout]) @_RpcTimeout(_TMO_FAST) def call_os_diagnose(self, node_list): -- GitLab