HomeClusterLabs Projects

Low: tools: Return ENOTUNIQ in find_resource_attr.

Description

Low: tools: Return ENOTUNIQ in find_resource_attr.

We were returning EINVAL in the case where multiple attributes were
found with a given name, but there's a more fitting error code that can
be used. This also starts to take care of a bunch of other functions
that could be returning EINVAL due to calling find_resource_attr.

Details

Provenance
clumensAuthored on May 25 2021, 3:11 PM
Parents
rP21d8d2e99ef7: Merge pull request #2388 from kgaillot/release
Branches
Unknown
Tags
Unknown

Event Timeline