cluster: STABLE32 - fenced: Fix path to "two_node" in ccs

Christine Caulfield chrissie at fedoraproject.org
Tue Feb 19 15:20:52 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=0cce9f812d2238777797491104d520fdd825c3fa
Commit:        0cce9f812d2238777797491104d520fdd825c3fa
Parent:        9c9a1d36ed64d269b98124bfff9f79f58994397c
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Tue Feb 19 15:19:59 2013 +0000
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Tue Feb 19 15:19:59 2013 +0000

fenced: Fix path to "two_node" in ccs

The path in the previous two_node patch was incorrect, it should have been:

Thanks to John Ruemker for spotting this

Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
 fence/fenced/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/fenced/config.c b/fence/fenced/config.c
index 651ea8b..1b9a3e0 100644
--- a/fence/fenced/config.c
+++ b/fence/fenced/config.c
@@ -95,7 +95,7 @@ void read_ccs_int(const char *path, int *config_val)
 #define OVERRIDE_PATH_PATH "/cluster/fence_daemon/@override_path"
 #define OVERRIDE_TIME_PATH "/cluster/fence_daemon/@override_time"
 #define METHOD_NAME_PATH "/cluster/clusternodes/clusternode[@name=\"%s\"]/fence/method[%d]/@name"
-#define TWO_NODE_PATH "/cluster/cman/two_node"
+#define TWO_NODE_PATH "/cluster/cman/@two_node"
 
 static int count_methods(char *victim)
 {


More information about the cluster-commits mailing list