Skip to content

Commit

Permalink
fix MONGO_HOST check when configuring docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
trautmane committed Apr 16, 2018
1 parent e53d520 commit 4a9184e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render-ws/src/main/scripts/docker/render-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ JETTY_BASE=$(stripQuotes $JETTY_BASE)
RENDER_DB_PROPERTIES="${JETTY_BASE}/resources/render-db.properties"


if [ -z "${MONGO_HOST}" ] & [ -z "${MONGO_CONNECTION_STRING}" ]; then
if [ -z "${MONGO_HOST}" ] && [ -z "${MONGO_CONNECTION_STRING}" ]; then
echo "ERROR: either MONGO_HOST or MONGO_CONNECTION_STRING must be defined"
exit 1
fi
Expand Down

0 comments on commit 4a9184e

Please sign in to comment.