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:
Amaury Denoyelle 2026-02-18 14:00:22 +01:00
parent 5000f0b2ef
commit 78549c66c5

View file

@ -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) {