MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / print_resource

Function print_resource

lib/pengine/utils.c:914–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914void
915print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details)
916{
917 long options = pe_print_log;
918
919 if (rsc == NULL) {
920 do_crm_log(log_level - 1, "%s%s: <NULL>",
921 pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": ");
922 return;
923 }
924 if (details) {
925 options |= pe_print_details;
926 }
927 rsc->fns->print(rsc, pre_text, options, &log_level);
928}
929
930void
931pe_free_action(action_t * action)

Callers 7

print_nodeFunction · 0.85
create_child_cloneFunction · 0.85
unpack_resourcesFunction · 0.85
process_orphan_resourceFunction · 0.85
group_unpackFunction · 0.85
native_colorFunction · 0.85
group_rsc_colocation_rhFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected