HomeClusterLabs Projects

Refactor: libcrmservice: add convenience function for marking op cancelled

Description

Refactor: libcrmservice: add convenience function for marking op cancelled

This helps avoid a construction like

services__set_result(op, op->rc, PCMK_EXEC_CANCELLED, NULL);

which sets op->rc to op->rc

Details

Provenance
kgaillotAuthored on Oct 1 2021, 3:52 PM
Parents
rP33b2482f504e: Refactor: libcrmservice: functionize nagios-specific part of action creation
Branches
Unknown
Tags
Unknown

Event Timeline