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

Function native_append_meta

pengine/native.c:3128–3140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3126
3127
3128void
3129native_append_meta(resource_t * rsc, xmlNode * xml)
3130{
3131 char *value = g_hash_table_lookup(rsc->meta, XML_RSC_ATTR_INCARNATION);
3132
3133 if (value) {
3134 char *name = NULL;
3135
3136 name = crm_meta_name(XML_RSC_ATTR_INCARNATION);
3137 crm_xml_add(xml, name, value);
3138 free(name);
3139 }
3140}

Callers

nothing calls this directly

Calls 2

crm_meta_nameFunction · 0.85
crm_xml_addFunction · 0.85

Tested by

no test coverage detected