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

Dominik Klein dk at in-telegence.net
Wed Apr 13 06:06:18 EDT 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: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110413/2baa02d8/attachment-0002.bin>


More information about the Pacemaker mailing list