mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-03 02:32:03 +00:00
BUG/MINOR: cli: clarify error message about stats bind-process
In 2.7-dev2, "stats bind-process" was removed by commit 94f763b5e
("MEDIUM: config: remove deprecated "bind-process" directives from
frontends") and an error message indicates that it's no more supported.
However it says "stats" is not supported instead of "stats bind-process",
making it a bit confusing.
This should be backported to 2.7.
This commit is contained in:
parent
1307cd42d2
commit
023c311d70
@ -617,7 +617,7 @@ static int cli_parse_global(char **args, int section_type, struct proxy *curpx,
|
||||
global.cli_fe->maxconn = maxconn;
|
||||
}
|
||||
else if (strcmp(args[1], "bind-process") == 0) {
|
||||
memprintf(err, "'%s' is not supported anymore.", args[0]);
|
||||
memprintf(err, "'%s %s' is not supported anymore.", args[0], args[1]);
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user