HomeClusterLabs Projects

Refactor: fencer: track full result for direct agent actions

Description

Refactor: fencer: track full result for direct agent actions

This renames stonith_device_action() to execute_agent_action() for readability,
and has it set a full result rather than return a legacy return code.

As of this commit, handle_request() just maps the result back to a legacy code,
but it will make better use of it with planned changes.

Details

Provenance
kgaillotAuthored on Nov 18 2021, 1:41 PM
Parents
rPfcd42a5926e9: Feature: fencer: pass full result in async command replies
Branches
Unknown
Tags
Unknown

Event Timeline