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

Function any_managed_resouces

pengine/allocate.c:1212–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212static gboolean
1213any_managed_resouces(pe_working_set_t * data_set)
1214{
1215
1216 GListPtr gIter = data_set->resources;
1217
1218 for (; gIter != NULL; gIter = gIter->next) {
1219 resource_t *rsc = (resource_t *) gIter->data;
1220
1221 if (is_managed(rsc)) {
1222 return TRUE;
1223 }
1224 }
1225 return FALSE;
1226}
1227
1228action_t *
1229pe_fence_op(node_t *node, const char *op, pe_working_set_t * data_set)

Callers 1

stage6Function · 0.85

Calls 1

is_managedFunction · 0.85

Tested by

no test coverage detected