mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
BUG/MINOR: lua/cli: bad error message
Error message inherited from lua_appelet_tcp copy/paste. Should be backported in 1.7
This commit is contained in:
parent
18d0990a5d
commit
ffbf569edb
@ -6629,7 +6629,7 @@ static int hlua_cli_parse_fct(char **args, struct appctx *appctx, void *private)
|
|||||||
*/
|
*/
|
||||||
appctx->ctx.hlua_cli.task = task_new();
|
appctx->ctx.hlua_cli.task = task_new();
|
||||||
if (!appctx->ctx.hlua_cli.task) {
|
if (!appctx->ctx.hlua_cli.task) {
|
||||||
SEND_ERR(NULL, "Lua applet tcp '%s': out of memory.\n", fcn->name);
|
SEND_ERR(NULL, "Lua cli '%s': out of memory.\n", fcn->name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
appctx->ctx.hlua_cli.task->nice = 0;
|
appctx->ctx.hlua_cli.task->nice = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user