Prevent check haproxy script from generating meaningless logs

Redirect the logs into /dev/null. Otherwise, it will be collected by
docker engine, which is meaningless.

Change-Id: I7d1d4cac61e62144bc11c26e7b00fc21037eb8d1
Closes-Bug: #1708097
This commit is contained in:
Jeffrey Zhang 2017-08-02 15:32:46 +08:00 committed by Jeffrey Zhang
parent 998a9d192e
commit 386825d6ff

View File

@ -3,4 +3,4 @@
# This will return 0 when it successfully talks to the haproxy daemon via the socket
# Failures return 1
echo "show info" | socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio
echo "show info" | socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio > /dev/null