diff --git a/charts/haproxy/templates/bin/_anchor.tpl b/charts/haproxy/templates/bin/_anchor.tpl index b1ec4989..bdc820d0 100644 --- a/charts/haproxy/templates/bin/_anchor.tpl +++ b/charts/haproxy/templates/bin/_anchor.tpl @@ -54,7 +54,7 @@ install_config() { get endpoints {{ $service }} \ -o 'jsonpath={.subsets[0].addresses[*].ip}') - if [ $? -ne 0]; then + if [ $? -ne 0 ]; then echo "Unable to retrieve service IPs for {{ $service }}, will retry configuration render." return 1 else @@ -74,7 +74,7 @@ install_config() { get endpoints {{ $service }} \ -o 'jsonpath={.subsets[0].ports[0].port}') - if [ $? -ne 0]; then + if [ $? -ne 0 ]; then echo "Unable to retrieve service port for {{ $service }}, will retry configuration render." return 1 else