Revision fafd0773 htools/Ganeti/HTools/IAlloc.hs
b/htools/Ganeti/HTools/IAlloc.hs | ||
---|---|---|
270 | 270 |
let orig = Container.find idx il |
271 | 271 |
sorig = Instance.sNode orig |
272 | 272 |
porig = Instance.pNode orig |
273 |
mir_type = templateMirrorType $ Instance.diskTemplate orig
|
|
273 |
mir_type = Instance.mirrorType orig
|
|
274 | 274 |
(exp_node, node_type, reloc_type) <- |
275 | 275 |
case mir_type of |
276 | 276 |
MirrorNone -> fail "Can't relocate non-mirrored instances" |
Also available in: Unified diff