From 8669ebe5006d04e59f0d402d9ecf5301e13a66c1 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 27 Nov 2018 14:20:43 +0100 Subject: [PATCH] no more whitespace --- rootfs/etc/confd/templates/server.yaml.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/confd/templates/server.yaml.tmpl b/rootfs/etc/confd/templates/server.yaml.tmpl index 0422683..78fda4f 100644 --- a/rootfs/etc/confd/templates/server.yaml.tmpl +++ b/rootfs/etc/confd/templates/server.yaml.tmpl @@ -115,9 +115,9 @@ room_invite_state_types: - "m.room.name" app_service_config_files: {{if not (getenv "REGISTRATIONS")}}[]{{end}} -{{if (getenv "REGISTRATIONS")}} -{{range $registration := split (getenv "REGISTRATIONS") ";"}} - - "{{ $registration }}" +{{- if (getenv "REGISTRATIONS")}} +{{- range $registration := split (getenv "REGISTRATIONS") ";"}} + - {{ $registration -}} {{end}} {{end}}