mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-08 04:18:58 +00:00
MINOR: log: change wording in lf_expr_postcheck() error message
logformat_node was referenced as "node" in the error message reported
to the user, but in fact it is referred to as "item" in user
documentation. Using "item" in the error message to better comply with
the doc.
Error message was introduced with 7a21c3a4ef
("MAJOR: log: implement
proper postparsing for logformat expressions")
This commit is contained in:
parent
318c290ff2
commit
cbc8e1394d
@ -1008,7 +1008,7 @@ int lf_expr_postcheck(struct lf_expr *lf_expr, struct proxy *px, char **err)
|
||||
}
|
||||
if ((px->to_log & (LW_REQ | LW_RESP)) &&
|
||||
(px->mode != PR_MODE_HTTP && !(px->options & PR_O_HTTP_UPG))) {
|
||||
memprintf(err, "logformat expression not usable here (at least one node depends on HTTP mode)");
|
||||
memprintf(err, "logformat expression not usable here (at least one item depends on HTTP mode)");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user