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

Function group_expand

pengine/group.c:474–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474void
475group_expand(resource_t * rsc, pe_working_set_t * data_set)
476{
477 GListPtr gIter = rsc->children;
478
479 pe_rsc_trace(rsc, "Processing actions from %s", rsc->id);
480
481 CRM_CHECK(rsc != NULL, return);
482 native_expand(rsc, data_set);
483
484 for (; gIter != NULL; gIter = gIter->next) {
485 resource_t *child_rsc = (resource_t *) gIter->data;
486
487 child_rsc->cmds->expand(child_rsc, data_set);
488 }
489}
490
491GHashTable *
492group_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr,

Callers

nothing calls this directly

Calls 1

native_expandFunction · 0.85

Tested by

no test coverage detected