From 84ffa00fd78cb664dd32576b35da55806f478008 Mon Sep 17 00:00:00 2001 From: Bryan Oliver Date: Fri, 4 Aug 2023 02:21:46 -0400 Subject: [PATCH] fix: jq key for readiness check --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e02f44..41bd09c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -199,7 +199,7 @@ jobs: name: test healthz endpoint command: | reponse=$(curl https://dev.twdps.io/teams/healthz/readiness) - if [[ $(echo $reponse | jq -r .status) != "ok" ]]; then + if [[ $(echo $reponse | jq -r .message) != "DB is available" ]]; then echo "error: healthz not ok" exit 1 fi