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

Christine Caulfield chrissie at fedoraproject.org
Fri Jul 19 10:53:38 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=edd283ff46a06f774f2033b54eef853ae67caf07
Commit:        edd283ff46a06f774f2033b54eef853ae67caf07
Parent:        629718d527681ad6c7fd2169f06a5524c1fd38cb
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Tue Feb 19 15:19:59 2013 +0000
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Fri Jul 19 11:41:24 2013 +0100

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