HomeClusterLabs Projects

Refactor: libs: Add pcmk__warn_multiple_name_matches.

Description

Refactor: libs: Add pcmk__warn_multiple_name_matches.

This function just condenses code that existed in two places into a
single new function. While it can be unconditionally called, you
probably won't actually want to do that since callers will want to do
different things depending on whether there were multiple matches or
not.

Details

Provenance
clumensAuthored on Mar 6 2024, 10:33 AM
Parents
rP0fc566ad1b0d: Refactor: libs: Use first_named_child in a few more places.
Branches
Unknown
Tags
Unknown