File pacemaker-crmd-remove-attr_id-update_attr_delegate.patch of Package pacemaker

commit 34fd2ba4c2c7964daa750b955a102941ae4cbebc
Author: Zhuravleva Aleksandra <zhuravleva357@gmail.com>
Date:   Mon Apr 10 23:53:30 2017 +0300

    fix remove attr_id from update_attr_delegate()

diff --git a/crmd/join_client.c b/crmd/join_client.c
index 67935c792..319272d0f 100644
--- a/crmd/join_client.c
+++ b/crmd/join_client.c
@@ -181,18 +181,16 @@ static void
 set_join_state(const char * start_state)
 {
     if (safe_str_eq(start_state, "standby")) {
-        char *attr_id = crm_strdup_printf("nodes-%.256s-standby", fsa_our_uuid);
         crm_notice("Forcing node %s to join in %s state per configured environment",
                    fsa_our_uname, start_state);
         update_attr_delegate(fsa_cib_conn, cib_sync_call, XML_CIB_TAG_NODES, fsa_our_uuid,
-                             NULL, NULL, attr_id, "standby", "on", TRUE, NULL, NULL);
+                             NULL, NULL, NULL, "standby", "on", TRUE, NULL, NULL);
 
     } else if (safe_str_eq(start_state, "online")) {
-        char *attr_id = crm_strdup_printf("nodes-%.256s-standby", fsa_our_uuid);
         crm_notice("Forcing node %s to join in %s state per configured environment",
                    fsa_our_uname, start_state);
         update_attr_delegate(fsa_cib_conn, cib_sync_call, XML_CIB_TAG_NODES, fsa_our_uuid,
-                             NULL, NULL, attr_id, "standby", "off", TRUE, NULL, NULL);
+                             NULL, NULL, NULL, "standby", "off", TRUE, NULL, NULL);
 
     } else if (safe_str_eq(start_state, "default")) {
         crm_debug("Not forcing a starting state on node %s", fsa_our_uname);
openSUSE Build Service is sponsored by