projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba1594
)
cmdlib: Fix typo in LUQueryClusterInfo
author
Michael Hanselmann
<hansmi@google.com>
Mon, 13 Jul 2009 13:55:56 +0000
(15:55 +0200)
committer
Michael Hanselmann
<hansmi@google.com>
Mon, 13 Jul 2009 14:01:11 +0000
(16:01 +0200)
This was broken by my pylint fixes patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py
patch
|
blob
|
history
diff --git
a/lib/cmdlib.py
b/lib/cmdlib.py
index
7885ef1
..
ff0aaea
100644
(file)
--- a/
lib/cmdlib.py
+++ b/
lib/cmdlib.py
@@
-2509,7
+2509,7
@@
class LUQueryClusterInfo(NoHooksLU):
"master": cluster.master_node,
"default_hypervisor": cluster.default_hypervisor,
"enabled_hypervisors": cluster.enabled_hypervisors,
- "hvparams": dict([(hypervisor_name, cluster.hvparams[hypervisor])
+ "hvparams": dict([(hypervisor_name, cluster.hvparams[hypervisor_name])
for hypervisor_name in cluster.enabled_hypervisors]),
"beparams": cluster.beparams,
"candidate_pool_size": cluster.candidate_pool_size,