HomeClusterLabs Projects

Fix: libstonith: Sort history before stonith__later_succeeded.

Description

Fix: libstonith: Sort history before stonith__later_succeeded.

Add a comment on that function explaining the need to sort. Then, move
sort_stonith_history into libstonith as an internal function and rename
it. Finally, change all the callers of stonith__later_succeeded to
first sort. Note that this also fixes a bug where the wrong type was
being passed to the stonith-event messages.

Details

Provenance
clumensAuthored on Sep 13 2019, 10:32 AM
Parents
rP6a33d8acaaac: Fix: libpe_status: use lists in pe__bundle_text.
Branches
Unknown
Tags
Unknown

Event Timeline