aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2017-08-02 15:32:46 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2017-08-07 05:53:19 +0000
commit386825d6ff55fe1f4c753989c2552841da6c38af (patch)
tree94c3be120a3d154f1d584e80fc33ee8698f6680b /docker
parent998a9d192e2b0fc99190b086b66c071c067d04e1 (diff)
downloadkolla-386825d6ff55fe1f4c753989c2552841da6c38af.tar.gz
kolla-386825d6ff55fe1f4c753989c2552841da6c38af.zip
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
Diffstat (limited to 'docker')
-rw-r--r--docker/keepalived/check_alive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/keepalived/check_alive.sh b/docker/keepalived/check_alive.sh
index 9bb87d7b7..929bb221a 100644
--- a/docker/keepalived/check_alive.sh
+++ b/docker/keepalived/check_alive.sh
@@ -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