From 3097c8588ea94b5263e78025a19949c293975218 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann Date: Mon, 1 Dec 2008 20:52:03 +0000 Subject: [PATCH] Fix RpcRunner._StaticSingleNodeCall Unfortunately, a rpc.Client object was passed as the first parameter, causing the function to always fail. Found during QA testing. Reviewed-by: ultrotter --- lib/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rpc.py b/lib/rpc.py index 4076e31..1cabc31 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -268,7 +268,7 @@ class RpcRunner(object): """ body = serializer.DumpJson(args, indent=False) c = Client(procedure, body, utils.GetNodeDaemonPort()) - c.ConnectNode(c, node) + c.ConnectNode(node) return c.GetResults().get(node, False) def call_volume_list(self, node_list, vg_name): -- 1.7.10.4