Fix iteration over backends config
Backend config is a dictionary and it's attempted to be iterated as dict, however it was missing items() call. Issue has been introduced with the patch [1] [1] https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/901034 Change-Id: I0a6a96a70f05815871a499935a61af9993186edb
This commit is contained in:
parent
e4acad2bb6
commit
2f4344550b
@ -124,7 +124,7 @@ cinder_store_project_domain_name = {{ glance_service_project_domain_id }}
|
||||
|
||||
{% else %}
|
||||
[{{ backend['name'] }}]
|
||||
{% for key, value in backend.get('config', {}) %}
|
||||
{% for key, value in backend.get('config', {}).items() %}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user