Skip to content

Commit

Permalink
fix status url override logic
Browse files Browse the repository at this point in the history
  • Loading branch information
davegarvey committed Aug 5, 2024
1 parent c052451 commit 6795a78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/tyk2/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ log_message "Restarting Tyk 2 services to use newly created certificates"
eval $(generate_docker_compose_command) up -d --no-deps --force-recreate tyk2-dashboard tyk2-gateway
log_ok

wait_for_liveness "http:\/\/localhost:8085/hello"
wait_for_liveness "http://localhost:8085/hello"

dashboard_admin_api_credentials=$(cat deployments/tyk/volumes/tyk-dashboard/tyk_analytics.conf | jq -r .admin_secret)

Expand Down
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ wait_for_api_loaded () {
}

wait_for_liveness () {
local status_endpoint="${1:-http:\/\/tyk-gateway.localhost:8080/hello}"
local status_endpoint="${1:-http://tyk-gateway.localhost:8080/hello}"
local attempt_count=0
local pass="pass"

Expand Down

0 comments on commit 6795a78

Please sign in to comment.