LGTM, thanks

On Fri, Jul 04, 2014 at 07:41:08PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
> These options describe the normal mode of operation for the
> balancing algorithm.
> 
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  src/Ganeti/HTools/AlgorithmParams.hs | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/Ganeti/HTools/AlgorithmParams.hs 
> b/src/Ganeti/HTools/AlgorithmParams.hs
> index 3fa2542..005d2e1 100644
> --- a/src/Ganeti/HTools/AlgorithmParams.hs
> +++ b/src/Ganeti/HTools/AlgorithmParams.hs
> @@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
> MA
>  
>  module Ganeti.HTools.AlgorithmParams
>    ( AlgorithmOptions(..)
> +  , defaultOptions
>    , fromCLIOptions
>    ) where
>  
> @@ -54,3 +55,7 @@ fromCLIOptions opts = AlgorithmOptions
>    , algMinGain = CLI.optMinGain opts
>    , algMinGainLimit = CLI.optMinGainLim opts
>    }
> +
> +-- | Default options for the balancing algorithm
> +defaultOptions :: AlgorithmOptions
> +defaultOptions = fromCLIOptions CLI.defaultOptions
> -- 
> 2.0.0.526.g5318336
> 

Reply via email to