HomeClusterLabs Projects

Low: libcrmcommon: Keep trailing newlines in pcmk__scan_nvpair()

Description

Low: libcrmcommon: Keep trailing newlines in pcmk__scan_nvpair()

The current callers won't have trailing newlines from the CLI or from
reading from a file. Newlines would be present only if the user included
them explicitly.

Newline removal was (re-)added by b7fe638, to fix a regression in
28ca6aa. However, at the time of 28ca6aa, pcmk_scan_nvpair() was public
API, so the change in behavior actually mattered. Now, it doesn't. It
appears to be safe to stop stripping trailing newlines.

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

Details

Provenance
nrwahl2Authored on Sat, Jul 12, 5:34 PM
Parents
rPf057778388ab: Low: fencer: Fix fence delay range off-by-one
Branches
Unknown
Tags
Unknown