projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gnt-cluster: Add hv/disk state to init
[ganeti-local]
/
lib
/
rpc.py
diff --git
a/lib/rpc.py
b/lib/rpc.py
index
17997f3
..
0bedb3c
100644
(file)
--- a/
lib/rpc.py
+++ b/
lib/rpc.py
@@
-448,7
+448,8
@@
class _RpcClientBase:
result = self._proc(node_list, procedure, body, read_timeout=read_timeout)
if postproc_fn:
- return postproc_fn(result)
+ return dict(map(lambda (key, value): (key, postproc_fn(value)),
+ result.items()))
else:
return result