Blame SOURCES/077-reenable-fence-device.patch
|
|
139d2d |
From 4ad87e494d56e18bcaafa058554573f890517eed Mon Sep 17 00:00:00 2001
|
|
|
139d2d |
From: Klaus Wenninger <klaus.wenninger@aon.at>
|
|
|
139d2d |
Date: Fri, 21 Jul 2017 17:57:48 +0200
|
|
|
139d2d |
Subject: [PATCH] Fix: stonith-ng: make fencing-device reappear properly after
|
|
|
139d2d |
reenabling
|
|
|
139d2d |
|
|
|
139d2d |
---
|
|
|
139d2d |
fencing/main.c | 2 +-
|
|
|
139d2d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
139d2d |
|
|
|
139d2d |
diff --git a/fencing/main.c b/fencing/main.c
|
|
|
139d2d |
index 360bc25..f58ccc7 100644
|
|
|
139d2d |
--- a/fencing/main.c
|
|
|
139d2d |
+++ b/fencing/main.c
|
|
|
139d2d |
@@ -781,7 +781,7 @@ update_cib_stonith_devices_v2(const char *event, xmlNode * msg)
|
|
|
139d2d |
}
|
|
|
139d2d |
free(mutable);
|
|
|
139d2d |
|
|
|
139d2d |
- } else if(strstr(xpath, "/"XML_CIB_TAG_RESOURCES)) {
|
|
|
139d2d |
+ } else if(strstr(xpath, XML_CIB_TAG_RESOURCES)) {
|
|
|
139d2d |
shortpath = strrchr(xpath, '/'); CRM_ASSERT(shortpath);
|
|
|
139d2d |
reason = crm_strdup_printf("%s %s", op, shortpath+1);
|
|
|
139d2d |
needs_update = TRUE;
|
|
|
139d2d |
--
|
|
|
139d2d |
1.8.3.1
|
|
|
139d2d |
|