Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-crmd-down-event-log.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crmd-down-event-log.patch of Package pacemaker
commit 1795b121cfd1e4101fcf773b4271c4e19521ec0d Author: Ken Gaillot <kgaillot@redhat.com> Date: Tue Jul 26 11:11:15 2016 -0500 Log: crmd: don't log warning if abort_unless_down() can't find down event A down event is optional at this point, so a warning is inappropriate. diff --git a/crmd/te_callbacks.c b/crmd/te_callbacks.c index 36815ba..2900121 100644 --- a/crmd/te_callbacks.c +++ b/crmd/te_callbacks.c @@ -320,7 +320,9 @@ static char *extract_node_uuid(const char *xpath) return node_uuid; } -static void abort_unless_down(const char *xpath, const char *op, xmlNode *change, const char *reason) +static void +abort_unless_down(const char *xpath, const char *op, xmlNode *change, + const char *reason) { char *node_uuid = NULL; crm_action_t *down = NULL; @@ -337,7 +339,7 @@ static void abort_unless_down(const char *xpath, const char *op, xmlNode *change return; } - down = match_down_event(node_uuid, FALSE); + down = match_down_event(node_uuid, TRUE); if(down == NULL || down->executed == false) { crm_trace("Not expecting %s to be down (%s)", node_uuid, xpath); abort_transition(INFINITY, tg_restart, reason, change);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor