aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-02-25 16:03:45 +0200
committerYuli Shlosberg <ys9693@att.com>2018-02-25 16:04:06 +0200
commit36604c71a72b1023ad412ccd4ab694647817f9a9 (patch)
tree1e3002d162760e843a6e1d9a4704f9b98145a12d /catalog-be/sdc-backend
parente56a2a869983480efcec9245946e7100f6e80385 (diff)
update template files
Change-Id: I495fcb8c6cfced09a921834f2ea730b519f453db Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'catalog-be/sdc-backend')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb4
1 files changed, 3 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 5239e9bdef..26f72664b7 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,6 +1,8 @@
#!/bin/bash
-health_Check_http_code=$(curl --max-time 5 -o /dev/null -w '%{http_code}' http://localhost:8080/sdc2/rest/healthCheck)
+set -x
+
+health_Check_http_code=$(curl --max-time 5 -o /dev/null -w '%{http_code}' http://127.0.0.1:8080/sdc2/rest/healthCheck)
if [[ "$health_Check_http_code" -eq 500 ]]; then
exit 200
else