From 0bf19d95a42082ce34e977a24144811d94880d82 Mon Sep 17 00:00:00 2001 From: "k.kedron" Date: Mon, 2 Sep 2019 12:45:35 +0200 Subject: Fixed ready-probe file Fixed ready-probe script url endpoint. Issue-ID: SDC-2548 Signed-off-by: Krystian Kedron Change-Id: Ibfc2d9199bd01678766810540df594d70812bd9e --- .../cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates') diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb index b9eb9b0a6a..35aef8ea17 100644 --- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb +++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb @@ -1,5 +1,5 @@ #!/bin/bash -health_Check_http_code=$(curl -k --max-time 5 -o /dev/null -w '%{http_code}' <%= @protocol %>://127.0.0.1:<%= @port %>/sdc1/rest/healthCheck) +health_Check_http_code=$(curl -k --max-time 5 -o /dev/null -w '%{http_code}' <%= @protocol %>://127.0.0.1:<%= @port %>/sdc2/rest/healthCheck) if [[ "$health_Check_http_code" -eq 200 ]]; then exit 0 -- cgit 1.2.3-korg