HomeClusterLabs Projects

Refactor: liblrmd: new internal function to create executor API objects

Description

Refactor: liblrmd: new internal function to create executor API objects

lrmd_api_new() and lrmd_remote_api_new() become wrappers for the new function.

The only effect as of this commit is that we now assert on errors,
rather than crash when dereferencing a NULL pointer later.

This will allow us to have better failure messages later.

Details

Provenance
kgaillotAuthored on May 25 2021, 5:42 PM
Parents
rP71dd4924d2cb: Refactor: fencer: functionize getting delegate from XML
Branches
Unknown
Tags
Unknown

Event Timeline