HomeClusterLabs Projects

Refactor: tools: Add a done section to cibadmin

Description

Refactor: tools: Add a done section to cibadmin

This will make the transition to GOption easier and make us more
confident that we're freeing all our dynamic memory.

Also make the username string local to the if-block that uses it.

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

Details

Provenance
nrwahl2Authored on Nov 23 2022, 4:11 AM
Parents
rP1e3edf39e52e: Refactor: tools: Set call options in cibadmin after option parsing
Branches
Unknown
Tags
Unknown