feat(aio): check resolution of external URLs in HEALTHCHECK
This commit is contained in:
parent
8a8d4fe24f
commit
bc831ff4a4
|
@ -39,5 +39,15 @@ for o in ${origins[@]}; do
|
|||
done
|
||||
|
||||
|
||||
# Check resolution of external URLs
|
||||
origins=(
|
||||
https://google.com
|
||||
)
|
||||
for o in ${origins[@]}; do
|
||||
curl --fail --silent $o > /dev/null
|
||||
reportStatus "External URL '$o'"
|
||||
done
|
||||
|
||||
|
||||
# Exit
|
||||
exit $exitCode
|
||||
|
|
Loading…
Reference in New Issue