HomeClusterLabs Projects

Refactor: controller: New controld_globals.cib_client_id member

Description

Refactor: controller: New controld_globals.cib_client_id member

Store the controller's CIB client ID when we successfully connect to the
CIB. We'll use this in an upcoming commit to check whether we requested
a CIB replacement.

Also make a file-scope variable a static function-scope variable.

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

Details

Provenance
nrwahl2Authored on Mar 25 2023, 11:01 PM
Parents
rPbcc9a53bfaf5: API: libcib: New cib_api_operations_t:client_id() method
Branches
Unknown
Tags
Unknown