mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 21:30:25 -05:00
DOC: cache: Use '<name>' instead of '<id>' in error message
When the cache name is left out in 'filter cache' the error message refers
to a missing '<id>'. The name of the cache is called 'name' within the docs.
Adjust the error message for consistency.
The error message was introduced in 99a17a2d91.
This commit first appeared in 1.9, thus the patch must be backported to 1.9+.
This commit is contained in:
parent
f92afb732b
commit
ea969f6f26
1 changed files with 1 additions and 1 deletions
|
|
@ -1407,7 +1407,7 @@ parse_cache_flt(char **args, int *cur_arg, struct proxy *px,
|
|||
|
||||
/* Get the cache filter name. <pos> point on "cache" keyword */
|
||||
if (!*args[pos + 1]) {
|
||||
memprintf(err, "%s : expects an <id> argument", args[pos]);
|
||||
memprintf(err, "%s : expects a <name> argument", args[pos]);
|
||||
goto error;
|
||||
}
|
||||
name = strdup(args[pos + 1]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue