Skip to content

Commit 5e10737

Browse files
ltangvaldyosifkit
authored andcommitted
Rename docker_write_password_file to mysql_write_password_file
This function is MySQL-only
1 parent 67f2bd3 commit 5e10737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.template.Debian/docker-entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ docker_init_client_command() {
171171
}
172172

173173
# Store root password in a file for use with the client command
174-
docker_write_password_file() {
174+
mysql_write_password_file() {
175175
# Write the password to the file the client uses
176176
if [ ! -z "$MYSQL_ROOT_PASSWORD" ]; then
177177
cat >"${PASSFILE}" <<EOF
@@ -296,7 +296,7 @@ docker_main() {
296296

297297
docker_init_root_user
298298

299-
docker_write_password_file
299+
mysql_write_password_file
300300

301301
docker_init_database_user
302302

0 commit comments

Comments
 (0)