mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -2576,8 +2576,8 @@ next_line:
|
|||
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 a new issue