Revision 2cdaf225 htools/Ganeti/HTools/IAlloc.hs
b/htools/Ganeti/HTools/IAlloc.hs | ||
---|---|---|
276 | 276 |
MirrorNone -> fail "Can't relocate non-mirrored instances" |
277 | 277 |
MirrorInternal -> return (sorig, "secondary", ChangeSecondary) |
278 | 278 |
MirrorExternal -> return (porig, "primary", ChangePrimary) |
279 |
when (exndx /= [exp_node]) $
|
|
279 |
when (exndx /= [exp_node]) .
|
|
280 | 280 |
-- FIXME: we can't use the excluded nodes here; the logic is |
281 | 281 |
-- already _but only partially_ implemented in tryNodeEvac... |
282 | 282 |
fail $ "Unsupported request: excluded nodes not equal to\ |
Also available in: Unified diff