Cleaner simulation of rebalance
authorAgata Murawska <agatamurawska@google.com>
Tue, 26 Jun 2012 12:39:36 +0000 (14:39 +0200)
committerAgata Murawska <agatamurawska@google.com>
Wed, 27 Jun 2012 14:19:49 +0000 (16:19 +0200)
commit5cc97485fe65d17a70d017a2f42a060911206185
treee5bd7f60f4c42cd788d898b126b474e0be685b3c
parentb5b19d5e3571c48e27956085630719fbed9dd986
Cleaner simulation of rebalance

This replaces the 'if .. then .. else ..' with a large block of code in
'else' branch by separating this code into a separate function.

Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
htools/Ganeti/HTools/Program/Hcheck.hs