From 36604c71a72b1023ad412ccd4ab694647817f9a9 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Sun, 25 Feb 2018 16:03:45 +0200 Subject: update template files Change-Id: I495fcb8c6cfced09a921834f2ea730b519f453db Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg --- .../cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe') diff --git a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb index b5cbb149dd..d743900892 100644 --- a/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb +++ b/catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb @@ -1,6 +1,6 @@ #!/bin/bash -health_Check_http_code=$(curl --max-time 5 -o /dev/null -w '%{http_code}' http://localhost:8181/sdc1/rest/healthCheck) +health_Check_http_code=$(curl --max-time 5 -o /dev/null -w '%{http_code}' http://127.0.0.1:8181/sdc1/rest/healthCheck) if [[ "$health_Check_http_code" -eq 500 ]]; then exit 200 else -- cgit 1.2.3-korg