Skip to content

Commit

Permalink
Rename function docker_init_database_dir to docker_create_db_directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ltangvald authored and yosifkit committed Sep 18, 2019
1 parent 04b03e0 commit 71962c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .template.Debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ docker_verify_minimum_env() {
}

# Creates and initializes the database directory
docker_init_database_dir() {
docker_create_db_directories() {
mkdir -p "$DATADIR"

mysql_note "Initializing database files"
Expand Down Expand Up @@ -273,7 +273,7 @@ _main() {
# If this is true then there's no database, and it needs to be initialized
if [ ! -d "$DATADIR/mysql" ]; then
docker_verify_minimum_env
docker_init_database_dir "$@"
docker_create_db_directories "$@"
docker_init_client_command

mysql_note "Starting temporary server"
Expand Down

0 comments on commit 71962c5

Please sign in to comment.