HomeClusterLabs Projects

Refactor: tools: Best practices in crm_shadow.c:get_shadow_prompt()

Description

Refactor: tools: Best practices in crm_shadow.c:get_shadow_prompt()

Remove redundant name argument (was always options.instance), add
doxygen, make inline, move directly above the two callers.

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

Details

Provenance
nrwahl2Authored on Mar 8 2023, 5:14 PM
Parents
rP70c704c6b92b: Test: cts-cli: Update tests crm_shadow.c:shadow_teardown() changes
Branches
Unknown
Tags
Unknown