MINOR: server: Don't set the check port during the update from a state file
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:17:15 +0000 (10:17 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:42:45 +0000 (10:42 +0100)
commit99497d7dba818ee6beeb90db75bd5bf3caf5bcc8
treefc58bae2cde007409ad0246027304d5c359412f9
parent446db718cbad183a6efac2341013962c3ca996cc
MINOR: server: Don't set the check port during the update from a state file

When the server state is loaded from a server-state file, there is no reason
to set an unconfigured check port with the server port. Because by default,
if the check port is not set, the server's one is used. Thus we can remove
this useless assignment. It is mandatory for next improvements.
src/server.c