[Pacemaker] [patch] low: ping RA: Make timeouts configured with unit work

Andrew Beekhof andrew at beekhof.net
Thu Apr 14 03:25:41 EDT 2011


I've pushed an alternate patch instead which should be more
comprehensive. Thanks for pointing out the problem though.

On Wed, Apr 13, 2011 at 12:06 PM, Dominik Klein <dk at in-telegence.net> wrote:
> Hi
>
> when the "ping" RA configured as
>
> primitive ping ocf:pacemaker:ping <snip> timeout="5s" <snip>
>
> it throws
>
>  [: 5s: integer expression expected
>
> This patch fixes configurations where timeout is configured with a unit
> following the number.
>
> hth
> Dominik
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list