HomeClusterLabs Projects

Low: libcrmcommon: Allow empty string values in pcmk__scan_nvpair()

Description

Low: libcrmcommon: Allow empty string values in pcmk__scan_nvpair()

I don't see any reason not to. This does change behavior for
crm_resource and stonith_admin if "NAME=" is given as a command line
argument. However, this is such an edge case that I don't expect it to
matter. It seems foolish to depend on the current behavior.

Of course, that means nothing, so if anyone complains, we can revert.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Sat, Jul 12, 5:49 PM
Parents
rPb52de8d56246: Low: libcrmcommon: Keep trailing newlines in pcmk__scan_nvpair()
Branches
Unknown
Tags
Unknown