[Debian-ha-commits] [pacemaker] 32/69: Fix: libfencing: topology is not used

Christoph Berg myon at debian.org
Tue Jan 26 09:14:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

myon pushed a commit to branch debian/master
in repository pacemaker.

commit 31cc458a29d068a987e007a42f61e93c36efe58e
Author: Ken Gaillot <kgaillot at redhat.com>
Date:   Mon Jan 4 16:18:52 2016 -0600

    Fix: libfencing: topology is not used
    
    12ca8bb incompletely replaced XML_ATTR_ID with XML_ATTR_STONITH_INDEX
    when removing a topology level
---
 lib/fencing/st_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c
index cc21503..a150e92 100644
--- a/lib/fencing/st_client.c
+++ b/lib/fencing/st_client.c
@@ -286,7 +286,7 @@ stonith_api_remove_level_full(stonith_t *st, int options,
         crm_xml_add(data, XML_ATTR_STONITH_TARGET_VALUE, value);
     }
 
-    crm_xml_add_int(data, XML_ATTR_ID, level);
+    crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level);
     rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0);
     free_xml(data);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list