Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 68a1ba3

Browse files
committed
fix: check registrar's /health endpoint, not /heartbeat
The latter endpoint doesn't exist on registrar. It 404s. This was causing registrar's healthcheck to fail, but the failure was passing silently due to a bug in the reporting logic of check.sh (fixed in an adjacent commit).
1 parent 489c0ed commit 68a1ba3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ run_check() {
5656
if should_check registrar; then
5757
echo "Checking Registrar heartbeat:"
5858
run_check registrar_heartbeat registrar \
59-
"curl --fail -L http://localhost:18734/heartbeat"
59+
"curl --fail -L http://localhost:18734/health"
6060
fi
6161

6262
if should_check lms; then

0 commit comments

Comments
 (0)