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
(cherry picked from commit 386825d6ff)
This commit is contained in:
Jeffrey Zhang 2017-08-02 15:32:46 +08:00
parent 56320e6bd6
commit 108035c32c
1 changed files with 1 additions and 1 deletions

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