From 9df5862e47020dc04a0be04d9f92d2c84ec53c9c Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Fri, 18 May 2018 18:11:58 -0400 Subject: [PATCH] Trying to fix config parser --- traefik/files/traefik.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traefik/files/traefik.toml b/traefik/files/traefik.toml index a2a8358..1bc1457 100644 --- a/traefik/files/traefik.toml +++ b/traefik/files/traefik.toml @@ -1,9 +1,9 @@ {% for section in config -%} [{{ section }}] {% for key, val in config[section].iteritems() -%} -{% if val is True -%} +{% if val == True -%} {{ key }} = true -{% elif val is False -%} +{% elif val == False -%} {{ key }} = false {% else -%} {{ key }} = "{{ val }}"