Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
pacemaker.9287
bug-890400_pacemaker-crm_resource-no-attr-messa...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-890400_pacemaker-crm_resource-no-attr-message.patch of Package pacemaker.9287
commit 3a4e5ea803c907a2657dfa05656f3b5349869c98 Author: Gao,Yan <ygao@suse.com> Date: Fri Aug 15 00:54:44 2014 +0800 Log: crm_resource: Print a clear message if the attribute is not found for the resource diff --git a/tools/crm_resource.c b/tools/crm_resource.c index 660637f..7b49f91 100644 --- a/tools/crm_resource.c +++ b/tools/crm_resource.c @@ -395,6 +395,9 @@ dump_resource_attr(const char *rsc, const char *attr, pe_working_set_t * data_se if (value != NULL) { fprintf(stdout, "%s\n", value); rc = 0; + + } else { + CMD_ERR("Attribute '%s' not found for '%s'\n", attr, the_rsc->id); } g_hash_table_destroy(params);
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