From 6c4dce1622e89e24c022943d0e7ab55ff9fa23c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 1 Apr 2021 15:04:00 +0200 Subject: [PATCH] jicofo: fix ENABLE_SCTP type --- jicofo/rootfs/defaults/jicofo.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index cd7c0d2..038d0fa 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -1,4 +1,5 @@ {{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "0" | toBool }} +{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool }} {{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }} @@ -116,11 +117,9 @@ jicofo { id = "{{ .Env.JICOFO_SHORT_ID | default "1" }}" } - {{ if .Env.ENABLE_SCTP }} sctp { - enabled = "{{ .Env.ENABLE_SCTP }}" + enabled = {{ $ENABLE_SCTP }} } - {{ end }} xmpp { client {