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 33# Old magnum images - hide until out of use
44
55{% 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' ) %}
77{{ item.key }}:
88{% for key , value in item .value .items () %}
99{% if value is mapping %}
Original file line number Diff line number Diff line change 33# Old magnum templates - hide until out of use
44
55{% 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' ) %}
77{{ item.key }}:
88{% for key , value in item .value .items () %}
99{% if key == 'is_hidden' %}
Original file line number Diff line number Diff line change 2626openstack_container_clusters_templates:
2727{% if matching_temps is defined and matching_temps | length > 0 %}
2828{% 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' )) %}
3030 - "{{ '{{ ' + item.key + ' }}' }}"
3131{% endif %}
3232{% endfor %}
You can’t perform that action at this time.
0 commit comments