]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: configuration: confuse "strict-mode" with "zero-warning"
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 28 Aug 2025 15:31:27 +0000 (17:31 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 28 Aug 2025 15:35:06 +0000 (17:35 +0200)
4b10302fd8 ("MINOR: cfgparse: implement a simple if/elif/else/endif
macro block handler") introduces a confusion between "strict-mode" and
"zero-warning".

This patch fixes the issue by changing "strict-mode" by "zero-warning"
in section 2.4. Conditional blocks.

Must be backported as far as 2.4.

doc/configuration.txt

index 85dd3be6e9e7c5fc54d7bd384a8b2cccefa114ef..99972f747b20955b7ff4d2ce077e6e908c6f92c1 100644 (file)
@@ -1272,8 +1272,8 @@ Four other directives are provided to report some status:
   - .warning "message" : emit this message at level WARNING
   - .alert "message"   : emit this message at level ALERT
 
-Messages emitted at level WARNING may cause the process to fail to start if the
-"strict-mode" is enabled. Messages emitted at level ALERT will always cause a
+Messages emitted at level WARNING may cause the process to fail to start if
+"zero-warning" is enabled. Messages emitted at level ALERT will always cause a
 fatal error. These can be used to detect some inappropriate conditions and
 provide advice to the user.