Fix printSolutionLine to handle big scores
authorIustin Pop <iustin@google.com>
Mon, 5 Mar 2012 13:11:15 +0000 (14:11 +0100)
committerIustin Pop <iustin@google.com>
Wed, 7 Mar 2012 21:05:05 +0000 (23:05 +0200)
commit255d140d4be314fc91c55858a5a11133088c7fab
tree967c035a49cecc00830cfffae2c5539f34da25fc
parente85444d067cdf230f34e08b11fc46e8005b59e24
Fix printSolutionLine to handle big scores

Currently we don't set a boundary on the length of the score field,
which breaks all our nicely-aligned output efforts.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/HTools/Cluster.hs