summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch/templates/pvc.j2
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2017-11-28 10:02:34 -0500
committerGitHub <noreply@github.com>2017-11-28 10:02:34 -0500
commit192b8477faa018d31893b322f43f356ce3ac1c80 (patch)
tree7ed69c98a8a28b352e33b0f9edb95eeb5b321d34 /roles/openshift_logging_elasticsearch/templates/pvc.j2
parent34de448dd7ff5c671628092e51668aa5c89e8e74 (diff)
parent37636c325aed612c06f86cbb042fc14bcbde218c (diff)
downloadopenshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.gz
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.bz2
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.xz
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.zip
Merge pull request #6259 from adelton/issue-6255
dist.iteritems() no longer exists in Python 3.
Diffstat (limited to 'roles/openshift_logging_elasticsearch/templates/pvc.j2')
-rw-r--r--roles/openshift_logging_elasticsearch/templates/pvc.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_elasticsearch/templates/pvc.j2 b/roles/openshift_logging_elasticsearch/templates/pvc.j2
index 063f9c5ae..3c6896df4 100644
--- a/roles/openshift_logging_elasticsearch/templates/pvc.j2
+++ b/roles/openshift_logging_elasticsearch/templates/pvc.j2
@@ -6,7 +6,7 @@ metadata:
logging-infra: support
{% if annotations is defined %}
annotations:
-{% for key,value in annotations.iteritems() %}
+{% for key,value in annotations.items() %}
{{key}}: {{value}}
{% endfor %}
{% endif %}
@@ -14,7 +14,7 @@ spec:
{% if pv_selector is defined and pv_selector is mapping %}
selector:
matchLabels:
-{% for key,value in pv_selector.iteritems() %}
+{% for key,value in pv_selector.items() %}
{{key}}: {{value}}
{% endfor %}
{% endif %}