BUG/MINOR: vars/cli: fix missing LF after "get var" output
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Feb 2024 17:13:32 +0000 (18:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 Feb 2024 15:39:46 +0000 (16:39 +0100)
commit5a505de142dbf8d4a7fb7f4da067951574e4b67a
tree37149a3199838589f6b55f8be0c0acb7fe09566d
parent91e26666284b426085e22b47464df9d496110dbe
BUG/MINOR: vars/cli: fix missing LF after "get var" output

"get var" on the CLI was also missing an LF, and the vtest as well, so
that fixing only the code breaks the vtest. This must be backported to
2.4 as the issue was brought with commit c35eb38f1d ("MINOR: vars/cli:
add a "get var" CLI command to retrieve global variables").

(cherry picked from commit 5d0dd88ac6c01b1e4ecf7e63efa7ab2f7c1325cf)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
reg-tests/sample_fetches/vars.vtc
src/vars.c