Skip to content

Commit

Permalink
Bugfix - move default value assignment in showFetchMigrationCommand.s…
Browse files Browse the repository at this point in the history
…h to before they are read from the command line

Signed-off-by: Kartik Ganesh <[email protected]>
  • Loading branch information
kartg committed Feb 8, 2024

Verified

This commit was signed with the committer’s verified signature.
vyasr Vyas Ramasubramani
1 parent 6bd2751 commit c82268a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -14,6 +14,10 @@ usage() {
exit 1
}

# Default values
create_only=false
dry_run=false

while [[ $# -gt 0 ]]; do
key="$1"
case $key in
@@ -47,10 +51,6 @@ fi
# ECS command overrides argument with placeholder for flags
OVERRIDES_ARG="--overrides '{ \"containerOverrides\": [ { \"name\": \"fetch-migration\", \"command\": <FLAGS> }]}'"

# Default values
create_only=false
dry_run=false

# Build flags string
flags=""
if [ "$dry_run" = true ]; then

0 comments on commit c82268a

Please sign in to comment.