Commit 3097c858 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

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
parent b9222f32
......@@ -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):
......
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