fix(remnawave): serialize dict profile template before placeholder substitution
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 2s
ansible-deploy / deploy (core-net, ) (push) Successful in 18s

This commit is contained in:
karpenok committed 2026-11-18 15:20:55 +07:00
1 parent 9c8298fcfe
commit da00d585cf
1 file changed
+2
@@ -186,6 +186,8 @@ def _render_profile_config(
raw_tpl = profile_templates.get(tpl_key)
if not raw_tpl:
raise RuntimeError(f"Не найден шаблон профиля {tpl_key}")
if isinstance(raw_tpl, dict):
raw_tpl = json.dumps(raw_tpl)
_, key_resp = api.request("GET", "/system/tools/x25519/generate")
resp_obj = key_resp.get("response") or key_resp