(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:
parent
b77002339c
commit
2ebe527fb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue