test: ref the config conditional

This commit is contained in:
Steven Tang 2022-12-27 20:58:17 +11:00
parent 9cce0ac2e1
commit f46f24f0be
No known key found for this signature in database
GPG Key ID: 1597520C734BAE66
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ case $1 in
docker_down=1
docker compose -f "$script_dir/docker-compose.yml" up --wait -d "$1"
config="config.$1.yml"
if [ "$1" == "mariadb" ]; then
config="config.mysql.yml"
else
config="config.$1.yml"
fi
db_port=0