projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9222f3
)
Fix RpcRunner._StaticSingleNodeCall
author
Michael Hanselmann
<hansmi@google.com>
Mon, 1 Dec 2008 20:52:03 +0000
(20:52 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Mon, 1 Dec 2008 20:52:03 +0000
(20:52 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/rpc.py
b/lib/rpc.py
index
4076e31
..
1cabc31
100644
(file)
--- 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):