HomeClusterLabs Projects

Low: tools: Fix a type on agent-status and resource-agent-action.

Description

Low: tools: Fix a type on agent-status and resource-agent-action.

The type of the rc parameter is actually crm_exit_t, as passed by
cli_resource_execute_from_params. The agent-status message treats it as
an int in a couple places, but luckily those two types overlap enough to
where this is okay.

Details

Provenance
clumensAuthored on Jan 28 2022, 9:11 AM
Parents
rPe34303c27989: Low: libs: Make a couple changes for output type checking.
Branches
Unknown
Tags
Unknown

Event Timeline