Hi, Andrew

I used crm_simulate and found a small bug.
A return code of the operation that I appointed in "-i option "is not handed
definitely.

Best Regards,
Yuusuke IIDA

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

Yuusuke Iida
Mail: iiday...@intellilink.co.jp
----------------------------------------
diff -r 0d3225be3f9d tools/crm_inject.c
--- a/tools/crm_inject.c	Mon May 23 18:32:07 2011 +0200
+++ b/tools/crm_inject.c	Wed May 25 17:33:34 2011 +0900
@@ -793,7 +793,7 @@
 	    cib_node = inject_node_state(global_cib, node);
 	    CRM_ASSERT(cib_node != NULL);
 	    
-	    update_failcounts(cib_node, resource, interval, rc);
+	    update_failcounts(cib_node, resource, interval, outcome);
 	    
 	    cib_resource = inject_resource(cib_node, resource, rclass, rtype, rprovider);
 	    CRM_ASSERT(cib_resource != NULL);
_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to