Skip to content

Commit 8e8a841

Browse files
committed
Fix validation health check to use ApiPort
1 parent 00ae3d0 commit 8e8a841

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/aws/single-node/cloudformation/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ Resources:
410410
grep -Eq '(^flags|^Features).* (vmx|svm)( |$)' /proc/cpuinfo
411411
systemctl is-active --quiet hypeman
412412
token="$(hypeman-create-token validation 1h)"
413-
curl -fsS -H "Authorization: Bearer $token" http://127.0.0.1:8080/health >/dev/null
413+
curl -fsS -H "Authorization: Bearer $token" http://127.0.0.1:${ApiPort}/health >/dev/null
414414
echo "hypeman aws single-node validation passed"
415415
SCRIPT
416416
chmod 755 /opt/hypeman/deploy/validate.sh

0 commit comments

Comments
 (0)