HomeClusterLabs Projects

Refactor: scheduler: reorganize lrm_resources unpacker

Description

Refactor: scheduler: reorganize lrm_resources unpacker

Drill down from node_state to lrm_resources within the function rather than
before it, so it's more self-contained, and unpack_node_history() is cleaner.
Rename it accordingly.

Also comment it better, and use convenience functions to simplify a bit.

Details

Provenance
kgaillotAuthored on Jan 21 2021, 1:52 PM
Parents
rPf36ac7e59b43: Refactor: scheduler: rename node history unpacking function
Branches
Unknown
Tags
Unknown

Event Timeline