HomeClusterLabs Projects

Low: tools: Return ENXIO from show_metadata.

Description

Low: tools: Return ENXIO from show_metadata.

We could be given a validly formatted but nonexistent resource spec, in
which case ENXIO seems like the most fitting error code. This maps to
CRM_EX_NOSUCH. Returning EINVAL will result in the user seeing an
internal software error message.

Details

Provenance
clumensAuthored on May 25 2021, 3:31 PM
Parents
rP918c71c34b72: Low: tools: Return ENOTUNIQ in find_resource_attr.
Branches
Unknown
Tags
Unknown

Event Timeline