From 33afc41859b26c6c2e4ea90d3fb7e98001701ed7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 17 May 2017 18:22:35 +0200 Subject: [PATCH] library/roles/gcube/authorization_service/templates/AuthorizationConfiguration.xml.j2: Manage the case when no authorized IPs are present. --- .../templates/AuthorizationConfiguration.xml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcube/authorization_service/templates/AuthorizationConfiguration.xml.j2 b/gcube/authorization_service/templates/AuthorizationConfiguration.xml.j2 index 269d41c..e4c6f65 100644 --- a/gcube/authorization_service/templates/AuthorizationConfiguration.xml.j2 +++ b/gcube/authorization_service/templates/AuthorizationConfiguration.xml.j2 @@ -16,9 +16,11 @@ +{% if authorized_ips is defined %} {% for ip in authorized_ips %} {% endfor %} +{% endif %}