Fix low verbosity levels in htools
authorIustin Pop <iustin@google.com>
Mon, 4 Mar 2013 10:24:51 +0000 (11:24 +0100)
committerIustin Pop <iustin@google.com>
Mon, 4 Mar 2013 10:35:44 +0000 (11:35 +0100)
commitbfa99f7abd9c89d2d7d6ab8e9dd45349f43564e9
tree125f49e79c64c28e4d7bf680b11d52b391100e71
parent0e42ef67d8acd1fc9f46052453697323732e00eb
Fix low verbosity levels in htools

In a few cases, we tested the verbosity level for (== 0), instead of
higher/lower than a certain value. If the user passes multiple
"--quiet" options, this can result in negative verbosity levels, which
behave like "extra verbosity".

Sigh for plain data types as opposed to proper verbosity levels…

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
src/Ganeti/HTools/Program/Hbal.hs
src/Ganeti/HTools/Program/Hcheck.hs