aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-02-27 10:38:48 +0200
committerYuli Shlosberg <ys9693@att.com>2018-02-27 10:39:13 +0200
commitc120666439c6eee238e31a01ee9de91d1fa821f8 (patch)
treea904c794b42779ad2f292eb82f9e774adddfffd2 /catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates
parente74faa5a396139e34678ff73f60c6038201ca409 (diff)
ES OOM alignment
Change-Id: I2f9321dcd9603cbb38d840efe9dc46fb0772e785 Issue-ID: SDC-915 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb2
1 files changed, 0 insertions, 2 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 26f72664b7..4d8540e956 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,7 +1,5 @@
#!/bin/bash
-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