Merge "Use healthcheck_port for ironic_inspector_dnsmasq healthcheck"

This commit is contained in:
Zuul 2020-04-17 04:26:56 +00:00 committed by Gerrit Code Review
commit 0d5d323515

View File

@ -12,7 +12,7 @@ if pgrep $process; then
port="67"
fi
echo "Checking $process port(s) $port."
if ! healthcheck_listen $process $port; then
if ! healthcheck_port $process $port; then
echo "There is no $process process listening on port(s) $port in the container."
exit 1
fi