mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02: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
@ -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…
x
Reference in New Issue
Block a user