HomeClusterLabs Projects

Refactor: scheduler: functionize unpacking node state better

Description

Refactor: scheduler: functionize unpacking node state better

unpack_status() was large and a bit difficult to follow, so separate unpacking
the node state and unpacking a cluster node's transient attributes into their
own functions.

Aside from formatting and log message tweaks, the code remains the same.

Details

Provenance
kgaillotAuthored on Jan 21 2021, 1:17 PM
Parents
rP7d5dadb32dbd: Refactor: scheduler: simplify unpacking node histories
Branches
Unknown
Tags
Unknown

Event Timeline