(haproxy) Fix syntax error in haproxy anchor

- The config check statement in the haproxy static pod
  had a syntax error.

Change-Id: I4c27eed37c83d8b3382143f2c8940bc62d0180ba
This commit is contained in:
Scott Hussey 2019-09-27 16:02:13 -05:00
parent b77002339c
commit 2ebe527fb1
1 changed files with 1 additions and 1 deletions

View File

@ -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