Merge "Switch gnocchi-statsd HC to healthcheck_port" into stable/victoria

This commit is contained in:
Zuul 2021-01-30 18:05:20 +00:00 committed by Gerrit Code Review
commit 0e98464936
1 changed files with 1 additions and 1 deletions

View File

@ -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