Skip to content

Commit f5d04fd

Browse files
committed
Fix Scorpio Startup
1 parent 12e1f11 commit f5d04fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

services

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pause(){
3838
}
3939

4040
getHeartbeat(){
41-
response=$(docker run --network fiware_default --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$1")
41+
response=$(docker run --network fiware_default --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$1") || true
4242
}
4343

4444
waitForOrion () {
@@ -83,12 +83,12 @@ waitForStellio () {
8383

8484
waitForCoreContext () {
8585
echo -e "\n⏳ Checking availability of \033[1m core @context\033[0m from ETSI\n"
86-
response=$(docker run --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$CORE_CONTEXT")
86+
response=$(docker run --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$CORE_CONTEXT") || true
8787
while [ "${response}" -eq 000 ]
8888
do
8989
echo -e "\n@context HTTP state: ${response} (waiting for 200)"
9090
pause 3
91-
response=$(docker run --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$CORE_CONTEXT")
91+
response=$(docker run --rm "quay.io/curl/curl:${CURL_VERSION}" -s -o /dev/null -w "%{http_code}" "$CORE_CONTEXT") || true
9292
done
9393
}
9494

0 commit comments

Comments
 (0)