Skip to content

Commit

Permalink
FIX Aurora SQL backup download script
Browse files Browse the repository at this point in the history
Before some CLI arguments were not being passed to
the rds/download-backup-script. Now, we pass on all
arguments except "aurora download-backup-script".
  • Loading branch information
snim2 committed Jan 25, 2024
1 parent 84c93b2 commit 539fd39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/aurora/download-sql-backup
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

# Redirect command
COMMAND_ARGS=( "${@:2}" )
"$APP_ROOT/bin/dalmatian" rds download-sql-backup "${COMMAND_ARGS[@]}"
# Redirect command. Pass on all arguments except "aurora download-sql-backup"
"$APP_ROOT/bin/dalmatian" rds download-sql-backup "${@:1}"
exit 0

0 comments on commit 539fd39

Please sign in to comment.