[Pacemaker] [PATCH] crm_mon expansion patch

Yuusuke IIDA iidayuus at intellilink.co.jp
Thu Mar 25 05:05:37 UTC 2010


Hi Andrew,

Thank you for a reply.

(2010/03/24 16:58), Andrew Beekhof wrote:
> Although I'll probably change it slightly to differentiate between
> partial and total failure:
>
> +		if(crm_parse_int(attrvalue, "0")<= 0) {
> +		    print_as("\t: Link has failed (Expected=%d)", expected_score);
> +		} else if(crm_parse_int(attrvalue, "0")<  expected_score) {
> +		    print_as("\t: Link is degraded (Expected=%d)", expected_score);
> +		}
>
> instead of:
>
> +		if(crm_parse_int(attrvalue, "0")<  expected_score) {
> +		    print_as("\t: Link is failure!! (Expected=%d)", expected_score);
> +		}
>
thanks!

> Its not really a bug, so I'll probably just add it to 1.1/devel
Because I want to use a version containing this function in future, I hope for 
what I get possible to use from stable-1.0.9.

Best Regards,
IIDA Yuusuke

-- 
----------------------------------------
METRO SYSTEMS CO., LTD

YuusukeIida
Mail:iidayuus at intellilink.co.jp
----------------------------------------




More information about the Pacemaker mailing list