File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
# Old magnum images - hide until out of use
4
4
5
5
{% for item in matching_images %}
6
- {% if item .value .name not in new_template_data | map (attribute ='value.name' ) | replace ( '-' , '_ ' ) %}
6
+ {% if ( item .value .name | replace ( '_' , '-' )) not in new_template_data | map (attribute ='value.name' ) %}
7
7
{{ item.key }}:
8
8
{% for key , value in item .value .items () %}
9
9
{% if value is mapping %}
Original file line number Diff line number Diff line change 3
3
# Old magnum templates - hide until out of use
4
4
5
5
{% for item in matching_temps %}
6
- {% if item .key not in new_template_data | map (attribute ='key' ) | replace ( '-' , '_ ' ) %}
6
+ {% if ( item .key | replace ( '_' , '-' )) not in new_template_data | map (attribute ='key' ) %}
7
7
{{ item.key }}:
8
8
{% for key , value in item .value .items () %}
9
9
{% if key == 'is_hidden' %}
Original file line number Diff line number Diff line change 26
26
openstack_container_clusters_templates:
27
27
{% if matching_temps is defined and matching_temps | length > 0 %}
28
28
{% for item in matching_temps %}
29
- {% if (item .key | replace ('_' , '-' )) not in (new_template_data | map (attribute ='key' )) %}
29
+ {% if (item .key | replace ('_' , '-' )) not in (new_template_data | map (attribute ='key' )) %}
30
30
- "{{ '{{ ' + item.key + ' }}' }}"
31
31
{% endif %}
32
32
{% endfor %}
You can’t perform that action at this time.
0 commit comments