MINOR: server: unmark deprecated on enable health/agent cli
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 3 Aug 2021 16:05:37 +0000 (18:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Aug 2021 08:09:50 +0000 (10:09 +0200)
commitc755efd5c64ad7327a6b763ea8025a820c5ca374
treed892d35b80c3aac9e0204cf4eaece34c39e59f89
parentd7da3dd928b4bc71c1c207908c455b81d2514676
MINOR: server: unmark deprecated on enable health/agent cli

Remove the "DEPRECATED" marker on "enable/disable health/agent"
commands. Their purpose is to toggle the check/agent on a server.

These commands are still useful because their purpose is not covered by
the "set server" command. Most there was confusion with the commands
'set server health/agent', which in fact serves another goal.

Note that the indication "use 'set server' instead" has been added since
2016 on the commit
  2c04eda8b58636ad2ae44e42b1f50f3b5a24a642
  REORG: cli: move "{enable|disable} health" to server.c

and
  58d9cb7d22c1b0d8239543443131e3e3658375d0
  REORG: cli: move "{enable|disable} agent" to server.c

Besides, these commands will become required to enable check/agent on
dynamic servers which will be created with check disabled.

This should be backported up to 2.4.
src/server.c