BUG/MINOR: lua/cli: bad error message
authorThierry FOURNIER <thierry.fournier@ozon.io>
Fri, 16 Dec 2016 10:14:06 +0000 (11:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2016 15:25:51 +0000 (16:25 +0100)
Error message inherited from lua_appelet_tcp copy/paste.

Should be backported in 1.7

src/hlua.c

index f233cdc..d5b54ff 100644 (file)
@@ -6629,7 +6629,7 @@ static int hlua_cli_parse_fct(char **args, struct appctx *appctx, void *private)
         */
        appctx->ctx.hlua_cli.task = task_new();
        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;
        }
        appctx->ctx.hlua_cli.task->nice = 0;