HomeClusterLabs Projects

Refactor: libpe_status: pe_node_attribute_calculated() accepts node type

Description

Refactor: libpe_status: pe_node_attribute_calculated() accepts node type

Use enum pe__rsc_node in pe_node_attribute_calculated() to determine
which container host (assigned or current) to get the attribute value
from. For now, there's no use case for pending.

Pass pe__rsc_node_current for existing calls, since that maintains the
existing behavior.

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

Details

Provenance
nrwahl2Authored on Sep 11 2022, 10:36 PM
Parents
rP6fa62060c929: Refactor: libpe_status: Add pe__rsc_node flag enum
Branches
Unknown
Tags
Unknown