On Mon, Aug 24, 2015 at 07:56:52PM +0300, Oleg Ponomarev wrote:
> Exclude components which are equal to zero from the computation sum
> on compile time by using Maybe monad to wrap optimal value computation
> function.
> 
> Signed-off-by: Oleg Ponomarev <[email protected]>
> ---
>  src/Ganeti/HTools/Cluster/MetricsComponents.hs | 17 ++++-------------
>  src/Ganeti/HTools/Cluster/MetricsTH.hs         | 18 +++++++++++++-----
>  2 files changed, 17 insertions(+), 18 deletions(-)

LGTM. Thanks.

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to