From 37636c325aed612c06f86cbb042fc14bcbde218c Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Mon, 27 Nov 2017 12:32:48 +0100 Subject: dist.iteritems() no longer exists in Python 3. --- roles/openshift_logging_curator/templates/curator.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_logging_curator') diff --git a/roles/openshift_logging_curator/templates/curator.j2 b/roles/openshift_logging_curator/templates/curator.j2 index 462128366..8acff8141 100644 --- a/roles/openshift_logging_curator/templates/curator.j2 +++ b/roles/openshift_logging_curator/templates/curator.j2 @@ -30,7 +30,7 @@ spec: serviceAccountName: aggregated-logging-curator {% if curator_node_selector is iterable and curator_node_selector | length > 0 %} nodeSelector: -{% for key, value in curator_node_selector.iteritems() %} +{% for key, value in curator_node_selector.items() %} {{key}}: "{{value}}" {% endfor %} {% endif %} -- cgit v1.2.1