On Mon, Feb 20, 2012 at 15:21, Iustin Pop <[email protected]> wrote:
> ---
>  htools/Ganeti/HTools/Simu.hs |   38 ++++++++++++++++++++++----------------
>  man/htools.rst               |    9 +++++----
>  2 files changed, 27 insertions(+), 20 deletions(-)

LGTM!

> +parseDesc desc es =
> +  fail $ printf
> +         "Invalid cluster specification, expected 6 comma-separated\
> +         \ sections (allocation policy, node count, disk size,\
> +         \ memory size, number of CPUs, spindles) but got %d: '%s'"
> +         (length es) desc

Heh, took a while to figure out what's the purpose of this, clever!

René

Reply via email to