HomeClusterLabs Projects

Refactor: scheduler: best practices for creating resource pseudo-ops

Description

Refactor: scheduler: best practices for creating resource pseudo-ops

Rename create_pseudo_resource_op() to pcmk__new_rsc_pseudo_action(), drop a
redundant argument, make it library-private, add a doxygen block, assert for
invalid arguments, and use bool instead of gboolean.

Details

Provenance
kgaillotAuthored on Dec 3 2021, 6:23 PM
Parents
rP4c3b4206bbc1: Refactor: libpacemaker: move create_pseudo_resource_op() to pcmk_sched_actions.c
Branches
Unknown
Tags
Unknown

Event Timeline