LGTM, thanks

On Fri, Dec 20, 2013 at 2:41 PM, Klaus Aehlig <[email protected]> wrote:

> Also log, at debug level only, when a change of a watched
> file was observed, but the change did not result in any
> change of derived value.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  src/Ganeti/Utils.hs | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/Ganeti/Utils.hs b/src/Ganeti/Utils.hs
> index e008fa1..bdd677b 100644
> --- a/src/Ganeti/Utils.hs
> +++ b/src/Ganeti/Utils.hs
> @@ -599,6 +599,7 @@ watchFileEx endtime base ref old read_fn = do
>        then do
>          new <- read_fn
>          if new /= old then return new else do
> +          logDebug "Observed change not relevant"
>            threadDelay 100000
>            watchFileEx endtime val ref old read_fn
>        else do
> --
> 1.8.5.1
>
>


-- 
-- 
Helga Velroyen | Software Engineer | [email protected] |

Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to