HomeClusterLabs Projects

Refactor: tools: Rearrange print_simple_status.

Description

Refactor: tools: Rearrange print_simple_status.

First, have it return a standard pacemaker return code which eliminates
the need for the has_warnings global. Second, use bool instead of
gboolean. Third, define the iter variable in the loop instead of at the
function level.

Details

Provenance
clumensAuthored on Jan 13 2022, 2:55 PM
Parents
rPb72eb7d80c61: Refactor: libpacemaker: Make pcmk__reduce_fence_history static.
Branches
Unknown
Tags
Unknown

Event Timeline