DOC: config: Add missing 'status-code' param for 'http-check expect' directive

In the documentation of 'http-check expect' directive, the parameter
'status-code' was missing. Let's add it.

This patch could be backported to all stable versions.
This commit is contained in:
Christopher Faulet 2026-03-20 11:33:32 +01:00
parent ada33006ef
commit 82afd36b6c

View file

@ -8326,6 +8326,11 @@ http-check expect [min-recv <int>] [comment <msg>]
occurred during the expect rule evaluation. <fmt> is a
Custom log format string (see section 8.2.6).
status-code <expr> is optional and can be used to set the check status code
reported in logs, on success or on error. <expr> is a
standard HAProxy expression formed by a sample-fetch
followed by some converters.
<match> is a keyword indicating how to look for a specific pattern in the
response. The keyword may be one of "status", "rstatus", "hdr",
"fhdr", "string", or "rstring". The keyword may be preceded by an