Revision 68af861c src/Ganeti/Query/Node.hs
b/src/Ganeti/Query/Node.hs | ||
---|---|---|
260 | 260 |
getHvParamsFromCluster :: ConfigData -> Hypervisor -> HvParams |
261 | 261 |
getHvParamsFromCluster cfg hv = |
262 | 262 |
fromMaybe (GenericContainer (Map.fromList [])) |
263 |
(Map.lookup (show hv)
|
|
263 |
(Map.lookup (hypervisorToRaw hv)
|
|
264 | 264 |
(fromContainer (clusterHvparams (configCluster cfg)))) |
Also available in: Unified diff