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

Dominik Klein dk at in-telegence.net
Wed Apr 13 10:06:18 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ping.patch
Type: text/x-patch
Size: 1615 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110413/2baa02d8/attachment-0003.bin>


More information about the Pacemaker mailing list