mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-07 00:03:09 -04:00
CLEANUP: trace/config: do not register section "traces" with USE_TRACE=0
We don't want to register the "traces" section when traces are disabled. Also this forces us to continue to build trace.c.
This commit is contained in:
parent
6ea18e0c74
commit
5dff525422
1 changed files with 2 additions and 0 deletions
|
|
@ -3184,7 +3184,9 @@ REGISTER_CONFIG_SECTION("global", cfg_parse_global, NULL);
|
|||
REGISTER_CONFIG_SECTION("userlist", cfg_parse_users, NULL);
|
||||
REGISTER_CONFIG_SECTION("mailers", cfg_parse_mailers, NULL);
|
||||
REGISTER_CONFIG_SECTION("namespace_list", cfg_parse_netns, NULL);
|
||||
#if defined(USE_TRACE)
|
||||
REGISTER_CONFIG_SECTION("traces", cfg_parse_traces, NULL);
|
||||
#endif
|
||||
|
||||
static struct cfg_kw_list cfg_kws = {{ },{
|
||||
{ CFG_GLOBAL, "default-path", cfg_parse_global_def_path },
|
||||
|
|
|
|||
Loading…
Reference in a new issue