Refactor: libpacemaker: Rearrange get_minimum_first_instances.
First, invert the logic so we return 0 in a hurry and can therefore
un-indent the rest of the code.
Second, use pcmk__xe_get_bool_attr for getting the require-all
attribute.
Refactor: libpacemaker: Rearrange get_minimum_first_instances. Tags None Referenced Files None Subscribers None
Description
Details
Event Timeline |