|
|
60de42 |
From d3c67afdb612491325accbd23f1c86d29afcf1ff Mon Sep 17 00:00:00 2001
|
|
|
60de42 |
From: Ken Gaillot <kgaillot@redhat.com>
|
|
|
60de42 |
Date: Thu, 8 Jun 2017 17:50:42 -0500
|
|
|
60de42 |
Subject: [PATCH] Low: libpe_status: get rid of redundant test
|
|
|
60de42 |
|
|
|
60de42 |
unimportant, but makes static analysis happy
|
|
|
60de42 |
---
|
|
|
60de42 |
lib/pengine/utils.c | 2 +-
|
|
|
60de42 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
60de42 |
|
|
|
60de42 |
diff --git a/lib/pengine/utils.c b/lib/pengine/utils.c
|
|
|
60de42 |
index 44fbb51..5bd905d 100644
|
|
|
60de42 |
--- a/lib/pengine/utils.c
|
|
|
60de42 |
+++ b/lib/pengine/utils.c
|
|
|
60de42 |
@@ -2032,7 +2032,7 @@ rsc_action_digest_cmp(resource_t * rsc, xmlNode * xml_op, node_t * node,
|
|
|
60de42 |
get_rsc_attributes(local_rsc_params, rsc, node, data_set);
|
|
|
60de42 |
data->params_all = create_xml_node(NULL, XML_TAG_PARAMS);
|
|
|
60de42 |
|
|
|
60de42 |
- if(fix_remote_addr(rsc) && node) {
|
|
|
60de42 |
+ if (fix_remote_addr(rsc)) {
|
|
|
60de42 |
// REMOTE_CONTAINER_HACK: Allow remote nodes that start containers with pacemaker remote inside
|
|
|
60de42 |
crm_xml_add(data->params_all, "addr", node->details->uname);
|
|
|
60de42 |
crm_trace("Fixing addr for %s on %s", rsc->id, node->details->uname);
|
|
|
60de42 |
--
|
|
|
60de42 |
1.8.3.1
|
|
|
60de42 |
|