Merge "Switch gnocchi-statsd HC to healthcheck_port" into stable/ussuri
This commit is contained in:
commit
37f9b99df6
|
@ -5,7 +5,7 @@
|
|||
process='gnocchi-statsd'
|
||||
bind_port=$(get_config_val /etc/gnocchi/gnocchi.conf statsd port 8125)
|
||||
|
||||
if ! healthcheck_listen $process $bind_port; then
|
||||
if ! healthcheck_port $process $bind_port; then
|
||||
echo "There is no $process process listening on ports $bind_port in the container."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue