mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 23:02:34 -04:00
BUG/MINOR: proxy: add dynamic backend into ID tree
Add missing proxy_index_id() call in "add backend" handler. This step is responsible to store the newly created proxy instance in the used_proxy_id global tree. No need to backport.
This commit is contained in:
parent
5000f0b2ef
commit
78549c66c5
1 changed files with 1 additions and 0 deletions
|
|
@ -4928,6 +4928,7 @@ static int cli_parse_add_backend(char **args, char *payload, struct appctx *appc
|
|||
memprintf(&msg, "no spare proxy ID available");
|
||||
goto err;
|
||||
}
|
||||
proxy_index_id(px);
|
||||
dynpx_next_id = px->uuid;
|
||||
|
||||
if (!proxies_list) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue