summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2017-11-27 12:32:48 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2017-11-27 13:11:45 +0100
commit37636c325aed612c06f86cbb042fc14bcbde218c (patch)
tree000e3bc81c52c3a87488b5e71bcb68fd13eb76d1 /roles/openshift_openstack
parent1ef463e727e202ba7595976f0478110b3b7585d0 (diff)
downloadopenshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.gz
openshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.bz2
openshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.xz
openshift-37636c325aed612c06f86cbb042fc14bcbde218c.zip
dist.iteritems() no longer exists in Python 3.
Diffstat (limited to 'roles/openshift_openstack')
-rw-r--r--roles/openshift_openstack/templates/heat_stack.yaml.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_openstack/templates/heat_stack.yaml.j2 b/roles/openshift_openstack/templates/heat_stack.yaml.j2
index bfa65b460..0e7538629 100644
--- a/roles/openshift_openstack/templates/heat_stack.yaml.j2
+++ b/roles/openshift_openstack/templates/heat_stack.yaml.j2
@@ -724,7 +724,7 @@ resources:
type: node
subtype: app
node_labels:
-{% for k, v in openshift_openstack_cluster_node_labels.app.iteritems() %}
+{% for k, v in openshift_openstack_cluster_node_labels.app.items() %}
{{ k|e }}: {{ v|e }}
{% endfor %}
image: {{ openshift_openstack_node_image }}
@@ -788,7 +788,7 @@ resources:
type: node
subtype: infra
node_labels:
-{% for k, v in openshift_openstack_cluster_node_labels.infra.iteritems() %}
+{% for k, v in openshift_openstack_cluster_node_labels.infra.items() %}
{{ k|e }}: {{ v|e }}
{% endfor %}
image: {{ openshift_openstack_infra_image }}