HomeClusterLabs Projects

Refactor: controller: best practices for do_resource_update()

Description

Refactor: controller: best practices for do_resource_update()

Rename to controld_update_resource_history() for clarity (and planned
relocation), add a doxygen block, make rsc argument const, return void,
and improve variable names, comments, and formatting.

This also drops the CIB call ID from a log message, which wasn't particularly
helpful, and the corresponding argument to log_executor_event().

Details

Provenance
kgaillotAuthored on Jan 11 2023, 4:34 PM
Parents
rP166df1508056: Refactor: controller: best practices for build_operation_update()
Branches
Unknown
Tags
Unknown