HomeClusterLabs Projects

Refactor: controller: Get node UUID directly instead of from cluster obj

Description

Refactor: controller: Get node UUID directly instead of from cluster obj

This way we can drop the uuid member from pcmk_cluster_t. It's relevant
to a node, not to the cluster itself.

We can make an argument for storing some local node data in the cluster
object, but that seems hacky.

(This is not a true UUID but renaming is a pain right now.)

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

Details

Provenance
nrwahl2Authored on Jun 19 2024, 8:05 PM
Parents
rP44f0e19356c3: API: libcrmcluster: New pcmk_cluster_t priv member
Branches
Unknown
Tags
Unknown