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

Function clone_rsc_location

pengine/clone.c:1311–1325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309}
1310
1311void
1312clone_rsc_location(resource_t * rsc, rsc_to_node_t * constraint)
1313{
1314 GListPtr gIter = rsc->children;
1315
1316 pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id);
1317
1318 native_rsc_location(rsc, constraint);
1319
1320 for (; gIter != NULL; gIter = gIter->next) {
1321 resource_t *child_rsc = (resource_t *) gIter->data;
1322
1323 child_rsc->cmds->rsc_location(child_rsc, constraint);
1324 }
1325}
1326
1327void
1328clone_expand(resource_t * rsc, pe_working_set_t * data_set)

Callers

nothing calls this directly

Calls 1

native_rsc_locationFunction · 0.85

Tested by

no test coverage detected