Browse Source

fix(setup-mongo.sh): If statement not ended

Owen Diffey 2 years ago
parent
commit
fe44b9150d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/docker/setup-mongo.sh

+ 2 - 1
tools/docker/setup-mongo.sh

@@ -14,4 +14,5 @@ else
                 -u "admin" \
                 --authenticationDatabase "admin" \
                 -p ${MONGO_ROOT_PASSWORD} \
-                --eval "db.createUser({ user: '${MONGO_USER_USERNAME}', pwd: '${MONGO_USER_PASSWORD}', roles:[ { role:'readWrite', db: 'musare' } ] } );"
+                --eval "db.createUser({ user: '${MONGO_USER_USERNAME}', pwd: '${MONGO_USER_PASSWORD}', roles:[ { role:'readWrite', db: 'musare' } ] } );"
+fi