Revision 6d3d13ab src/Ganeti/HTools/Cluster.hs

b/src/Ganeti/HTools/Cluster.hs
7 7

  
8 8
{-
9 9

  
10
Copyright (C) 2009, 2010, 2011, 2012 Google Inc.
10
Copyright (C) 2009, 2010, 2011, 2012, 2013 Google Inc.
11 11

  
12 12
This program is free software; you can redistribute it and/or modify
13 13
it under the terms of the GNU General Public License as published by
......
655 655
    map (\k -> (k, foldl' (\a e -> if e == k then a + 1 else a) 0 flst))
656 656
            [minBound..maxBound]
657 657

  
658
-- | Compares two Maybe AllocElement and chooses the besst score.
658
-- | Compares two Maybe AllocElement and chooses the best score.
659 659
bestAllocElement :: Maybe Node.AllocElement
660 660
                 -> Maybe Node.AllocElement
661 661
                 -> Maybe Node.AllocElement

Also available in: Unified diff