From 02bae04d012aca243bc0d42ff7ebc3f6a202b70e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 2 May 2024 15:19:47 -0700 Subject: [PATCH] varnish: try using the right syntatic sugar Signed-off-by: Kevin Fenzi --- roles/varnish/templates/proxies.vcl.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/varnish/templates/proxies.vcl.j2 b/roles/varnish/templates/proxies.vcl.j2 index 7104385253..104199d0ff 100644 --- a/roles/varnish/templates/proxies.vcl.j2 +++ b/roles/varnish/templates/proxies.vcl.j2 @@ -21,11 +21,11 @@ backend mailman { .url = "/"; .interval = 5s; .timeout = 5s; -{{ if env != staging }} +{% if env != staging %} .expected_response = 301; -{{ else }} +{% else %} .expected_response = 302; -{{ endif }} +{% endif %} } }