| 1735 | } |
| 1736 | |
| 1737 | void |
| 1738 | native_expand(resource_t * rsc, pe_working_set_t * data_set) |
| 1739 | { |
| 1740 | GListPtr gIter = NULL; |
| 1741 | |
| 1742 | pe_rsc_trace(rsc, "Processing actions from %s", rsc->id); |
| 1743 | |
| 1744 | for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) { |
| 1745 | action_t *action = (action_t *) gIter->data; |
| 1746 | |
| 1747 | crm_trace("processing action %d for rsc=%s", action->id, rsc->id); |
| 1748 | graph_element_from_action(action, data_set); |
| 1749 | } |
| 1750 | |
| 1751 | for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) { |
| 1752 | resource_t *child_rsc = (resource_t *) gIter->data; |
| 1753 | |
| 1754 | child_rsc->cmds->expand(child_rsc, data_set); |
| 1755 | } |
| 1756 | } |
| 1757 | |
| 1758 | void |
| 1759 |
no test coverage detected