From 55ae94fdb6a6508f30c0eb0f5dfe95a11ac9682f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 25 Sep 2019 22:31:36 +0200 Subject: Python3 compatibility --- roles/glusterfs/templates/export.openshift.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/glusterfs') diff --git a/roles/glusterfs/templates/export.openshift.conf.j2 b/roles/glusterfs/templates/export.openshift.conf.j2 index 85132cb..a2d1971 100644 --- a/roles/glusterfs/templates/export.openshift.conf.j2 +++ b/roles/glusterfs/templates/export.openshift.conf.j2 @@ -1,6 +1,6 @@ {% set i = 0 %} {% for domain in glusterfs_domains %} -{% for name, vol in domain.volumes.iteritems() %} +{% for name, vol in domain.volumes.items() %} {% if vol.nfs_clients is defined %} {% set nfs = vol.nfs_clients %} {% set i = i + 1 %} -- cgit v1.2.3