mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 20:52:44 +02:00
CLEANUP: hlua/cli: take the hlua_cli context definition out of the appctx
This context is used by CLI keywords registered by Lua. We can take it out of the appctx and use the generic command context allocation so that the appctx doesn't have to declare a specific one anymore. The context is created during parsing.
This commit is contained in:
@@ -138,11 +138,6 @@ struct appctx {
|
||||
/* all entries below are used by various CLI commands, please
|
||||
* keep the grouped together and avoid adding new ones.
|
||||
*/
|
||||
struct {
|
||||
struct hlua *hlua;
|
||||
struct task *task;
|
||||
struct hlua_function *fcn;
|
||||
} hlua_cli;
|
||||
struct {
|
||||
char *path;
|
||||
struct ckch_store *old_ckchs;
|
||||
|
||||
Reference in New Issue
Block a user