HomeClusterLabs Projects

Refactor: scheduler: make logging actions a resource variant method

Description

Refactor: scheduler: make logging actions a resource variant method

Previously, LogActions() behaved differently for bundles, which is a good sign
it should be a variant method.

This renames LogActions() to pcmkoutput_resource_actions(), and renames
pcmk
bundle_log_actions() to pcmk__output_bundle_actions(), and makes them an
output_actions() resource variant method.

This also drops a redundant argument from the functions.

Details

Provenance
kgaillotAuthored on Dec 8 2021, 3:45 PM
Parents
rP83bdba495fc0: Refactor: scheduler: move LogActions() to pcmk_sched_resource.c
Branches
Unknown
Tags
Unknown

Event Timeline