tripleo-common/healthcheck/heat-api-cfn
Alex Schultz ed760d7171 Fix heat api cfn healthcheck
The heat-api-cfn returns a 400 instead of a 401.

Change-Id: I8c82119037e976c92d6313dac17b4f0601ab96fe
Closes-Bug: #1772492
2018-05-30 05:05:54 -06:00

7 lines
214 B
Bash
Executable File

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-heat_api_cfn_wsgi.conf)
healthcheck_curl ${check_url} | grep ^400