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)
This commit is contained in:
Emeric Brun 2021-09-29 10:29:52 +02:00 committed by Willy Tarreau
parent 8de6dc9926
commit 620761f934

View File

@ -3027,8 +3027,9 @@ default-server [param*]
See also: "server" and section 5 about server options
enable
This re-enables a disabled peers section which was previously disabled.
enabled
This re-enables a peers section which was previously disabled via the
"disabled" keyword.
log <address> [len <length>] [format <format>] [sample <ranges>:<sample_size>]
<facility> [<level> [<minlevel>]]