summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2019-09-02 12:45:35 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-09-03 08:11:47 +0000
commit0bf19d95a42082ce34e977a24144811d94880d82 (patch)
tree0e239ec67ad1c4c46ed829d56101b9178b0cadbb /catalog-be
parent8026d0848025720a77cc219be26415aa94f10b75 (diff)
Fixed ready-probe file
Fixed ready-probe script url endpoint. Issue-ID: SDC-2548 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ibfc2d9199bd01678766810540df594d70812bd9e
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb2
1 files changed, 1 insertions, 1 deletions
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