Remove the else ecmhost condition (#1835)

Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
This commit is contained in:
Maurizio Vitale 2020-11-30 10:59:11 +00:00 committed by GitHub
parent ffc4bd6e0f
commit e94f3d9e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,9 +91,6 @@ echo "replace APP_CONFIG_ECM_HOST"
encoded=${APP_CONFIG_ECM_HOST//\//$replace} encoded=${APP_CONFIG_ECM_HOST//\//$replace}
sed -e "s/\"ecmHost\": \".*\"/\"ecmHost\": \"${encoded}\"/g" \ sed -e "s/\"ecmHost\": \".*\"/\"ecmHost\": \"${encoded}\"/g" \
-i "${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json" -i "${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json"
else
sed -e "s/\"ecmHost\": \".*\"/\"ecmHost\": \"\"/g" \
-i "${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json"
fi fi
# application specific ce replacements # application specific ce replacements