DOC: peers: fix doc "enable" statement on "peers" sections
authorEmeric Brun <ebrun@haproxy.com>
Wed, 29 Sep 2021 08:29:52 +0000 (10:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 4 Oct 2021 16:07:20 +0000 (18:07 +0200)
commit9bc5bcb0abf4b41097789c5ce9e1b03d35dd4e9a
tree080122ad0a72ee1c56d504ada181e3e61f42fdaa
parenta68de6807630f6ce734f7639736b949a99f7c3cf
DOC: peers: fix doc "enable" statement on "peers" sections

Checking in code the right keyword is "enabled" and not "enable".

In addition the comment was also completed:

This could appear useless because the "defaults" sections not
yet apply on "peers" sections, but it could be the case in the future.
This statement can currently cancel a previous "disabled" keyword in
the same section.

This patch should be backported in all supported branches (keyword
is present since 1.5)

(cherry picked from commit 620761f934fe24f3943ec2ff346d8ecd0e6a6576)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7214dcfef69909f516f04f509421c4d915624c51)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
doc/configuration.txt