HomeClusterLabs Projects

Feature: tools: Change exit codes for failure to create cib_t object

Description

Feature: tools: Change exit codes for failure to create cib_t object

Previously, CLI tools used a variety of exit codes upon failure to
allocate a CIB API connection object. Now, they return CRM_EX_OSERR.

This is primarily to consolidate code and reduce duplication in callers
of cibsignon_retry(), which is now renamed to cibcreate_signon().

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Thu, Jul 24, 9:37 PM
Parents
rPb05bc550c73c: API: libcib: Deprecate cib_new_no_shadow()
Branches
Unknown
Tags
Unknown