On Fri, Jul 04, 2014 at 01:18:05PM +0200, 'Petr Pudlak' via ganeti-devel wrote:
> Before many of them threw just GenericError.
> 
> Signed-off-by: Petr Pudlak <[email protected]>
> ---
>  src/Ganeti/WConfd/TempRes.hs | 28 ++++++++++++++++------------
>  1 file changed, 16 insertions(+), 12 deletions(-)
> 
> diff --git a/src/Ganeti/WConfd/TempRes.hs b/src/Ganeti/WConfd/TempRes.hs
> index effde60..145ca9b 100644
> --- a/src/Ganeti/WConfd/TempRes.hs
> +++ b/src/Ganeti/WConfd/TempRes.hs
> @@ -48,7 +48,6 @@ module Ganeti.WConfd.TempRes
>    , reserve
>    , dropReservationsFor
>    , reserved
> -  , generate

While, in general, it is OK to hide functions not needed outside a module,
I cannot see the connection to throwing a different error.

-- 
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