diff --git a/images/nginx-runtime/docker/s2i/bin/run b/images/nginx-runtime/docker/s2i/bin/run index 8accb13..7d04c17 100644 --- a/images/nginx-runtime/docker/s2i/bin/run +++ b/images/nginx-runtime/docker/s2i/bin/run @@ -64,7 +64,7 @@ getApiUrl (){ # Results in API_URL=https://django-devex-von-dev.pathfinder.gov.bc.ca/api/v1/ # ================================================================================ if [ ! -z "${API_SERVICE_NAME}" ]; then - _SERVICE_NAME="$(tr '[:lower:]' '[:upper:]' <<< ${API_SERVICE_NAME/-/_})" + _SERVICE_NAME="$(tr '[:lower:]' '[:upper:]' <<< ${API_SERVICE_NAME//-/_})" _SERVICE_HOST_NAME=${_SERVICE_NAME}_SERVICE_HOST _SERVICE_PORT_NAME=${_SERVICE_NAME}_SERVICE_PORT