Blame SOURCES/010-feature-set.patch

23c78e
From d1b6b6cb5151763888ac8bc55708d2e7cbbf590b Mon Sep 17 00:00:00 2001
23c78e
From: Chris Lumens <clumens@redhat.com>
23c78e
Date: Thu, 19 Nov 2020 13:35:31 -0500
23c78e
Subject: [PATCH] Fix: scheduler: Fix output of failed actions without an
23c78e
 operation_key.
23c78e
23c78e
---
23c78e
 lib/pengine/pe_output.c | 2 +-
23c78e
 1 file changed, 1 insertion(+), 1 deletion(-)
23c78e
23c78e
diff --git a/lib/pengine/pe_output.c b/lib/pengine/pe_output.c
23c78e
index 1a3f93d..b91348f 100644
23c78e
--- a/lib/pengine/pe_output.c
23c78e
+++ b/lib/pengine/pe_output.c
23c78e
@@ -975,7 +975,7 @@ pe__failed_action_xml(pcmk__output_t *out, va_list args) {
23c78e
     xmlNodePtr node = pcmk__output_create_xml_node(out, "failure");
23c78e
 
23c78e
     xmlSetProp(node, (pcmkXmlStr) (op_key ? "op_key" : "id"),
23c78e
-               (pcmkXmlStr) (op_key ? op_key : "id"));
23c78e
+               (pcmkXmlStr) (op_key ? op_key : ID(xml_op)));
23c78e
     xmlSetProp(node, (pcmkXmlStr) "node",
23c78e
                (pcmkXmlStr) crm_element_value(xml_op, XML_ATTR_UNAME));
23c78e
     xmlSetProp(node, (pcmkXmlStr) "exitstatus",
23c78e
-- 
23c78e
1.8.3.1
23c78e