Commit 0db84a87 authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Improve additional-frontend logic

Trigger additional-frontend request as soon as any of the relevant
parameters is set by the user:
- additional-frontend-name
- additional-frontend-sr
- additional-frontend-sr-type
- additional-frontend-guid

Instead of only when additional-frontend-guid is set.
parent 3db1ebe5
{%- if (parameter_dict.get('additional-frontend-name')
or parameter_dict.get('additional-frontend-sr')
or parameter_dict.get('additional-frontend-sr-type')
or parameter_dict.get('additional-frontend-guid'))%}
{%- set additional_frontend = true %}
{%- else %}
{%- set additional_frontend = false %}
{%- endif %}
{%- set parameter_dict = dict(default_parameter_dict, **parameter_dict) %}
{%- set additional_frontend = parameter_dict['additional-frontend-guid'] %}
{%- set embedded_instance_config = parameter_dict['initial-embedded-instance'] %}
[buildout]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment