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

Function pe_find_node_any

lib/pengine/status.c:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251node_t *
252pe_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
262node_t *
263pe_find_node_id(GListPtr nodes, const char *id)

Callers 1

unpack_statusFunction · 0.85

Calls 2

pe_find_node_idFunction · 0.85
pe_find_nodeFunction · 0.85

Tested by

no test coverage detected