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

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Oct 14 15:11:31 EDT 2011


Hi Keisuke-san,

On Fri, Oct 14, 2011 at 06:34:10PM +0900, Keisuke MORI wrote:
> 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.

Many thanks for the patch.

Cheers,

Dejan

> 
> -- 
> Keisuke MORI


> _______________________________________________
> 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