HomeClusterLabs Projects

Refactor: controller,liblrmd,libpacemaker: functionize setting event result

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: controller,liblrmd,libpacemaker: functionize setting event result

lrmd_event_data_t is public API, so we can't refactor it to use
pcmk__action_result_t at this time.

However, we can create equivalent accessor functions for the result members.
This encourages setting agent exit status, execution status, and exit reason
together whenever possible, and will make it easier to refactor to use
pcmk__action_result_t in the future.

This is purely a refactor; no additional exit reasons are set as of this
commit.

Details

Provenance
kgaillotAuthored on May 27 2021, 4:54 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.