[Debian-ha-commits] [pacemaker] 31/69: High: fencing: 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 fb8be40a7c300bbd219a676adf3d3dc54c44c393
Author: Hideo Yamauchi <renayama19661014 at ybb.ne.jp>
Date:   Fri Dec 25 11:49:46 2015 +0900

    High: fencing: topology is not used
    
    12ca8bb introduced a regression such that only the last
    level of a fencing topology is used.
---
 fencing/commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fencing/commands.c b/fencing/commands.c
index df613a6..a81a251 100644
--- a/fencing/commands.c
+++ b/fencing/commands.c
@@ -1279,7 +1279,7 @@ stonith_level_remove(xmlNode *msg, char **desc)
     CRM_CHECK(level != NULL, return -EINVAL);
 
     target = stonith_level_key(level, -1);
-    crm_element_value_int(level, XML_ATTR_ID, &id);
+    crm_element_value_int(level, XML_ATTR_STONITH_INDEX, &id);
     if (desc) {
         *desc = crm_strdup_printf("%s[%d]", target, id);
     }

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