mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-29 06:18:02 +00:00
MINOR: Fix typos in error messages in the proxy subsystem
Fix typos in error messages that will be user-visible in the proxy subsystem.
This commit is contained in:
parent
07a0834635
commit
9edebb8568
@ -358,13 +358,13 @@ static int proxy_parse_declare(char **args, int section, struct proxy *curpx,
|
|||||||
{
|
{
|
||||||
/* Capture keyword wannot be declared in a default proxy. */
|
/* Capture keyword wannot be declared in a default proxy. */
|
||||||
if (curpx == defpx) {
|
if (curpx == defpx) {
|
||||||
memprintf(err, "'%s' not avalaible in default section", args[0]);
|
memprintf(err, "'%s' not available in default section", args[0]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Capture keywork is only available in frontend. */
|
/* Capture keywork is only available in frontend. */
|
||||||
if (!(curpx->cap & PR_CAP_FE)) {
|
if (!(curpx->cap & PR_CAP_FE)) {
|
||||||
memprintf(err, "'%s' only avalaible in frontend or listen section", args[0]);
|
memprintf(err, "'%s' only available in frontend or listen section", args[0]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user