HomeClusterLabs Projects

Log: liblrmd: return sensible code for unsupported executor type

Description

Log: liblrmd: return sensible code for unsupported executor type

Previously, some functions would return -1 for unsupported executor type, while
returning legacy return codes otherwise, potentially leading to nonsensical
error messages. lrmd_api_connect_async() would return -1 for invalid arguments
and success for unsupported executor type.

In practice, this could never happen, but use a sensible value anyway.

Details

Provenance
kgaillotAuthored on May 6 2021, 9:41 PM
Parents
rPcd2a331259e6: Log: liblrmd: improve messages for remote reply failures
Branches
Unknown
Tags
Unknown

Event Timeline