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

Function print_node_attribute

tools/crm_mon.c:920–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918}
919
920static void
921print_node_attribute(gpointer name, gpointer node_data)
922{
923 const char *value = NULL;
924 node_t *node = (node_t *) node_data;
925
926 value = g_hash_table_lookup(node->details->attrs, name);
927 print_as(" + %-32s\t: %-10s", (char *)name, value);
928 print_attr_msg(node, node->details->running_rsc, name, value);
929 print_as("\n");
930}
931
932static void
933print_node_summary(pe_working_set_t * data_set, gboolean operations)

Callers

nothing calls this directly

Calls 1

print_attr_msgFunction · 0.85

Tested by

no test coverage detected