| 249 | } |
| 250 | |
| 251 | node_t * |
| 252 | pe_find_node_any(GListPtr nodes, const char *id, const char *uname) |
| 253 | { |
| 254 | node_t *match = pe_find_node_id(nodes, id); |
| 255 | if(match) { |
| 256 | return match; |
| 257 | } |
| 258 | crm_trace("Looking up %s via it's uname instead", uname); |
| 259 | return pe_find_node(nodes, uname); |
| 260 | } |
| 261 | |
| 262 | node_t * |
| 263 | pe_find_node_id(GListPtr nodes, const char *id) |
no test coverage detected