diff --git a/services b/services index fda2583..0e7f1f9 100755 --- a/services +++ b/services @@ -41,10 +41,10 @@ getHeartbeat(){ eval "response=$(docker run --network fiware_default --rm quay.io/curl/curl -s -o /dev/null -w "%{http_code}" "$1")" } -waitForOrion () { +waitForOrionLD () { echo -e "\n⏳ Waiting for \033[1;34mOrion-LD\033[0m to be available\n" - while ! [ `docker inspect --format='{{.State.Health.Status}}' fiware-orion` == "healthy" ] + while ! [ `docker inspect --format='{{.State.Health.Status}}' fiware-orion-ld` == "healthy" ] do echo -e "\nContext Broker HTTP state: ${response} (waiting for 200)" pause 6 @@ -160,7 +160,7 @@ case "${command}" in addDatabaseIndex displayServices fiware waitForUserContext - waitForOrion + waitForOrionLD ;; "scorpio") export $(cat .env | grep "#" -v)