mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
CLEANUP: mworker: "program" section does not have a post_section_parser anymore
The "program" section does not have a post_section_parser anymore so no need to make an exception for it.
This commit is contained in:
parent
313eeae7db
commit
5c2039b5b8
@ -2576,8 +2576,8 @@ int parse_cfg(const struct cfgfile *cfg)
|
||||
if (pcs && pcs->post_section_parser) {
|
||||
int status;
|
||||
|
||||
/* don't call post_section_parser in MODE_DISCOVERY, except program section */
|
||||
if ((global.mode & MODE_DISCOVERY) && (strcmp(pcs->section_name, "program") != 0))
|
||||
/* don't call post_section_parser in MODE_DISCOVERY */
|
||||
if (global.mode & MODE_DISCOVERY)
|
||||
goto section_parser;
|
||||
|
||||
status = pcs->post_section_parser();
|
||||
|
Loading…
Reference in New Issue
Block a user