HomeClusterLabs Projects

Refactor: libstonithd: Add functions for searching stonith history.

Description

Refactor: libstonithd: Add functions for searching stonith history.

This takes the form of one function that walks the stonith history and
returns the first item that passes a matching function, as well as
several matching functions to test event state. Then, use these in
crm_mon_print.c to clean up all those repetetive loops.

Details

Provenance
clumensAuthored on Jun 22 2020, 2:21 PM
Parents
rP9a20725f5619: Refactor: tools, libs: Add PCMK__OUTPUT_LIST_FOOTER.
Branches
Unknown
Tags
Unknown

Event Timeline