Code Review
/
sdc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bad5f878dd37074a1c6cbbb6f9195cc908ab5d79
[sdc.git]
/
1
#!/bin/bash
2
health_Check_http_code=$(curl -k --max-time 5 -o /dev/null -w '%{http_code}' <%= @protocol %>://127.0.0.1:<%= @port %>/sdc1/rest/healthCheck)
3
4
if [[ "$health_Check_http_code" -eq 200 ]]; then
5
exit 0
6
else
7
exit $health_Check_http_code
8
fi