Skip to content

Commit 224a18c

Browse files
committed
Fix Scorpio Startup
1 parent 448e69b commit 224a18c

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
@@ -39,7 +39,7 @@ pause(){
3939
}
4040

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

4545
waitForOrion () {
@@ -84,12 +84,12 @@ waitForStellio () {
8484

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

0 commit comments

Comments
 (0)