HomeClusterLabs Projects

Refactor: tools: Use cib_sync_call unconditionally in cibadmin

Description

Refactor: tools: Use cib_sync_call unconditionally in cibadmin

Previously, we maintained two code paths. In the default path, we made
an asynchronous request (for a live CIB) and ran a mainloop to await the
result. However, cibadmin can't exit until it gets the result, so this
asynchronous call behaved like a synchronous call.

Ref T817

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

Details

Provenance
nrwahl2Authored on Tue, Dec 17, 4:07 AM
Parents
rP3378b65105e2: Merge pull request #3766 from liangxin1300/20241212_drop_gfs_controld
Branches
Unknown
Tags
Unknown
Tasks
T817: Deprecate --sync-call cibadmin option