HomeClusterLabs Projects

fence_lpar: Reduce code duplication in get_lpar_list

Description

fence_lpar: Reduce code duplication in get_lpar_list

The logic for HMC version 4 and HMC version IVM are the same except for
the use of a different separator character. This commit condenses them
into one block.

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

Details

Provenance
nrwahl2Authored on Jul 29 2020, 9:43 PM
Parents
rF6d0b2cb59813: fence_lpar: Fix list-status action
Branches
Unknown
Tags
Unknown

Event Timeline