Skip to content

Commit bb4cce0

Browse files
sbalousekDjelibeybi
authored andcommitted
Oracle GoldenGate
- Fix syntax error in `healthcheck` Signed-off-by: Stephen Balousek <[email protected]>
1 parent 945c604 commit bb4cce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OracleGoldenGate/23/bin/healthcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare -A Ports=([nginx]=443
1515
function service_healthy() {
1616
local serviceName="${1}" health healthy
1717
pgrep "${serviceName}" &>/dev/null || return 1
18-
health="$(curl -sf "http://127.0.0.1:${Ports[$serviceName}]}/services/v2/config/health/check")" || return 1
18+
health="$(curl -sf "http://127.0.0.1:${Ports[${serviceName}]}/services/v2/config/health/check")" || return 1
1919
healthy="$(echo "${health}" | jq -r .response.healthy)" || return 1
2020
[[ "${healthy}" == "true" ]]
2121
}

0 commit comments

Comments
 (0)