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

Function rsc_op_expected_rc

lib/common/utils.c:1885–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1883}
1884
1885int
1886rsc_op_expected_rc(lrmd_event_data_t * op)
1887{
1888 int rc = 0;
1889
1890 if (op && op->user_data) {
1891 int dummy = 0;
1892 char *uuid = NULL;
1893
1894 decode_transition_key(op->user_data, &uuid, &dummy, &dummy, &rc);
1895 free(uuid);
1896 }
1897 return rc;
1898}
1899
1900gboolean
1901did_rsc_op_fail(lrmd_event_data_t * op, int target_rc)

Callers 2

update_history_cacheFunction · 0.85
build_operation_updateFunction · 0.85

Calls 1

decode_transition_keyFunction · 0.85

Tested by

no test coverage detected