Skip to content

Commit

Permalink
remove default values from maintenance script
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 11, 2021
1 parent 4f301ce commit 53e2207
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/maintenance
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

maintenance=off
environment=prod
maintenance=
environment=

## On entering maintenance mode, this script will unmap the environments primary route and map it to that environments maintenance page.
## It will then map the maintenance route to the app so we still have access to it.
Expand All @@ -16,6 +16,11 @@ help() {
echo " -h, --help show this help text"
}

if [[ $# < 4 ]]; then
help
exit 1
fi

# Check feature flags and validate input
while [ "$1" != "" ]; do
case $1 in
Expand Down

0 comments on commit 53e2207

Please sign in to comment.