From 7f78e5ed0c23a491d108a4b198ffffcfbf98ba31 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 25 Mar 2023 17:29:27 +0200 Subject: [PATCH] Remove double space and simpify if statement --- templates/env.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/env.j2 b/templates/env.j2 index ef1c0a4..7fd4f80 100644 --- a/templates/env.j2 +++ b/templates/env.j2 @@ -1,4 +1,4 @@ -{% if nextcloud_redis_hostname != '' %} +{% if nextcloud_redis_hostname %} REDIS_HOST={{ nextcloud_redis_hostname }} REDIS_HOST_PORT={{ nextcloud_redis_port }} {% endif %}