[Pacemaker] [PATCH] crm shell: improve sanity check for start/stop interval parameter

Keisuke MORI keisuke.mori+ha at gmail.com
Fri Oct 14 09:34:10 UTC 2011


Hi,

The recent crm shell does sanity checks for parameters, which is great,
but if you specify interval="0s" in start or stop operation it
complains with this warning:

WARNING: dummy01: Specified interval for start is 0s, this is greater
than 0 thus invalid

It should be valid and also the message is a bit confusing.
I would suggest the attached patch.


-- 
Keisuke MORI
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interval.patch
Type: application/octet-stream
Size: 1231 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111014/18281bc6/attachment-0003.obj>


More information about the Pacemaker mailing list