Skip to content

Commit

Permalink
Typo to get fourth parameter for setupPostgres.sh
Browse files Browse the repository at this point in the history
Currently the CHART_NAME is either the value of the variable if defined, otherwise '4'.
It would be better to be the fourth parameter of the script if not defined.
  • Loading branch information
neolutin authored Sep 12, 2024
1 parent db9d573 commit 71f1708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stable/jfrog-platform/files/setupPostgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ setupDB(){
: ${DB_NAME:=$1}
: ${DB_USERNAME:=$2}
: ${DB_PASSWORD:=$3}
: ${CHART_NAME:=4}
: ${CHART_NAME:=$4}

### Following are the postgres details being setup for each service.
## Common details
Expand All @@ -124,4 +124,4 @@ setupDB "${DB_USERNAME}" "${DB_PASSWORD}" "${DB_NAME}" || true

log "$POSTGRES_LABEL setup is now complete."

exit 0
exit 0

0 comments on commit 71f1708

Please sign in to comment.