fix: don't use return in transfairSetup

For some reason the return not only exits transfairSetup, but also the
bridgehead script
This commit is contained in:
Torben Brenner 2025-02-06 15:43:37 +01:00
parent fa0d9fb8b4
commit bca63e82a9
1 changed files with 15 additions and 17 deletions

View File

@ -3,9 +3,6 @@
function transfairSetup() {
if [[ -n "$INSTITUTE_TTP_URL" || -n "$EXCHANGE_ID_SYSTEM" ]]; then
echo "Starting transfair."
else
return
fi
OVERRIDE+=" -f ./modules/transfair-compose.yml"
if [ -n "$FHIR_INPUT_URL" ]; then
log INFO "TransFAIR input fhir store set to external $FHIR_INPUT_URL"
@ -21,4 +18,5 @@ function transfairSetup() {
FHIR_REQUEST_URL="http://bridgehead-transfair-requests-blaze:8080"
OVERRIDE+=" --profile transfair-request-blaze"
fi
fi
}