]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: "show version" displays the current process version
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 14 Dec 2021 14:22:29 +0000 (15:22 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 14 Dec 2021 14:40:06 +0000 (15:40 +0100)
commit740629e2966641871b183d1c728fa7aeda45a1cc
treeee60f1f374043dea5d97d60cbb2de3539b506094
parentfc1126610b78130595533bc1b05216f7e60e7ec8
MINOR: cli: "show version" displays the current process version

This patch implements a simple "show version" command which returns
the version of the current process.

It's available from the master and the worker processes, so it is easy
to check if the master and the workers have the same version.

This is a minor patch that really improve compatibility checks
for scripts.

Could be backported in haproxy version as far as 2.0.
doc/management.txt
src/cli.c