Fix ready probe exit code 04/105004/2
authorandre.schmid <andre.schmid@est.tech>
Thu, 2 Apr 2020 13:39:47 +0000 (14:39 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 6 Apr 2020 06:29:26 +0000 (06:29 +0000)
commit36ed0482eca91d1fa3efa4a5c7a7445516c6bd58
treeb4bd4c5f39f013a13c85649061591ee1a4d8a517
parent94e7778319778713c0b4e2ccf590cefc6e18c21e
Fix ready probe exit code

The exit code ranges from 0 to 255, so it should not be
returning the http status code.
This was breaking the health check for the docker_run.sh
script, which was always getting a 0 return code in a
case of 503 http status for example.

Change-Id: I52b2923cdfc0d7389894917ccc4aa58468ac8bdc
Issue-ID: SDC-2867
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb
catalog-fe/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/templates/default/ready-probe.sh.erb
openecomp-be/dist/sdc-onboard-backend-docker/artifacts/chef-repo/cookbooks/sdc-onboard-backend/templates/default/ready-probe.sh.erb