MINOR: config: show HAPROXY_BRANCH in "show env" output
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 18 Nov 2024 16:54:25 +0000 (17:54 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 19 Nov 2024 13:13:50 +0000 (14:13 +0100)
commit7848692c4cb666875477f718e7b89aee69cfba80
treeb6a8f9c1707a85fb1ea1adc7fa57cbd26631fa84
parentd58a8d1f643ed10d1e24244d8901fb95b58247aa
MINOR: config: show HAPROXY_BRANCH in "show env" output

Before this patch HAPROXY_BRANCH was unset just after configuration parsing.
Let's keep it, as it could be used in conditional blocks and some
configuration directives and it's handy to check its runtime value via "show
env".

In master-worker mode, this variable is set to the same value for both
processes.
src/haproxy.c