Skip to content

Commit

Permalink
fix parse db params
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer committed Dec 3, 2024
1 parent b72ddaa commit 7022b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/web-and-data/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ parse_db_params_from_config_and_command_line() {
else
PROPERTIES_FILE=$BAKED_IN_WAR_CONFIG_FILE
fi
for param in db.host spring.datasource.username db.portal_db_name spring.datasource.password spring.datasource.url; do
for param in db.host spring.datasource.mysql.username db.portal_db_name spring.datasource.mysql.password spring.datasource.mysql.url; do
if $(parse_db_params_from_command_line $@ | grep -q $param); then
prop=$(parse_db_params_from_command_line $@ | grep "^$param" || [[ $? == 1 ]])
else
Expand Down

0 comments on commit 7022b54

Please sign in to comment.