BUG/MINOR: cli/stats: add missing trailing LF after JSON outputs
Patrick Hemmer reported that we have a bug in the CLI commands
"show stat json" and "show schema json" in that they forget the trailing
LF that's required to mark the end of the response. This has been the
case since the introduction of the feature in 1.8-dev1 by commit 6f6bb380e
("MEDIUM: stats: Add show json schema"), so this fix may be backported to
all versions.
(cherry picked from commit 5a0e7ca5d058f71b72ff296cd51f15eaddb3ad60)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit db06d9ddbbd0d98b6db2d6e70b903636191f75a7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a74257dd0f3b79a818f680ddbd8456a571c5d914)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed