HomeClusterLabs Projects

Refactor: scheduler: simplify copying action meta-attributes

Description

Refactor: scheduler: simplify copying action meta-attributes

Rename dup_attr() to copy_meta_to_notify() for readability, and add a doxygen
block.

Also, reimplement it to take the notify action as the user data instead of the
notify action's meta-attribute table. This makes the semantics more obvious,
and we can avoid using add_hash_param() since we don't need everything it does.

Details

Provenance
kgaillotAuthored on Dec 21 2021, 1:12 PM
Parents
rPc44c60b92bd9: Refactor: scheduler: best practices when expanding notification entries
Branches
Unknown
Tags
Unknown

Event Timeline