Merge "NFS backend option "shares" should not be templated"

This commit is contained in:
Jenkins
2017-02-06 14:00:14 +00:00
committed by Gerrit Code Review

View File

@@ -99,7 +99,7 @@ enabled_backends={% for backend in cinder_backends|dictsort %}{{ backend.0 }}{%
# All given backend(s)
{% for backend_section in cinder_backends|dictsort %}
[{{ backend_section.0 }}]
{% for key, value in backend_section.1.items() if key != 'extra_volume_types' %}
{% for key, value in backend_section.1.items() if key not in ['extra_volume_types', 'shares'] %}
{{ key }}={{ value }}
{% endfor %}