mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 19:56:59 +00:00
BUG/MINOR: cli: add severity in "set server addr" parser
Commit c3680ec
("MINOR: add severity information to cli feedback messages")
introduced a severity level to CLI messages, but one of them was missed
on "set server addr". No backport is needed.
This commit is contained in:
parent
62ac84f843
commit
a075258a2c
@ -4204,6 +4204,7 @@ static int cli_parse_set_server(char **args, struct appctx *appctx, void *privat
|
||||
}
|
||||
else if (strcmp(args[3], "fqdn") == 0) {
|
||||
if (!*args[4]) {
|
||||
appctx->ctx.cli.severity = LOG_ERR;
|
||||
appctx->ctx.cli.msg = "set server <b>/<s> fqdn requires a FQDN.\n";
|
||||
appctx->st0 = CLI_ST_PRINT;
|
||||
SPIN_UNLOCK(SERVER_LOCK, &sv->lock);
|
||||
|
Loading…
Reference in New Issue
Block a user