HomeClusterLabs Projects

Refactor: tools: Rearrange get_fencing_history in crm_mon.

Description

Refactor: tools: Rearrange get_fencing_history in crm_mon.

First, make it take parameters instead of refer to global variables.
Second, have it return a standard pacemaker return code. Third, get rid
of the while loop and have the caller decide whether it should even be
run or not.

Details

Provenance
clumensAuthored on Jan 13 2022, 2:07 PM
Parents
rP7a35856bb9e3: Refactor: tools: Update output format handling in mon_refresh_display.
Branches
Unknown
Tags
Unknown

Event Timeline