Restore old functionality for Mongo backup when not using MONGO_CUSTOM_URI

This commit is contained in:
Dave Conroy
2022-10-07 08:26:54 -07:00
parent 8b41f5efcf
commit 2b441f11e1
3 changed files with 25 additions and 15 deletions

View File

@@ -24,4 +24,3 @@ SKIP_AVAILABILITY_CHECK=${SKIP_AVAILABILITY_CHECK:-"FALSE"}
SPLIT_DB=${SPLIT_DB:-"TRUE"}
TEMP_LOCATION=${TEMP_LOCATION:-"/tmp/backups"}
if [ -n "${MONGO_CUSTOM_URI}" ]; then MONGO_HOST_TYPE="atlas" ; fi