From 2ebe527fb1695bd5c350d59af9b2b2757d88406e Mon Sep 17 00:00:00 2001 From: Scott Hussey Date: Fri, 27 Sep 2019 16:02:13 -0500 Subject: [PATCH] (haproxy) Fix syntax error in haproxy anchor - The config check statement in the haproxy static pod had a syntax error. Change-Id: I4c27eed37c83d8b3382143f2c8940bc62d0180ba --- charts/haproxy/templates/etc/_haproxy.yaml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/haproxy/templates/etc/_haproxy.yaml.tpl b/charts/haproxy/templates/etc/_haproxy.yaml.tpl index 0433a1f7..bfab7718 100644 --- a/charts/haproxy/templates/etc/_haproxy.yaml.tpl +++ b/charts/haproxy/templates/etc/_haproxy.yaml.tpl @@ -56,7 +56,7 @@ spec: # and installation echo "Staging proposed config for installation." cp "$HAPROXY_CONF" "$STAGE_HAPROXY_CONF" - if [ ! haproxy -c -f "$STAGE_HAPROXY_CONF"]; then + if ! haproxy -c -f "$STAGE_HAPROXY_CONF"; then echo "Proposed config not valid." return 1 fi