Fixing mention of mysql_test:ping, which should match the rake target named database_test:ping

Ian Blenke vor 8 Jahren
Ursprung
Commit
564c1c352f
1 geänderte Dateien mit 1 neuen Zeilen und 1 gelöschten Zeilen
  1. 1 1
      docker/scripts/init

+ 1 - 1
docker/scripts/init

@@ -156,7 +156,7 @@ fi
156 156
 if [ -n "\${DATABASE_INITIAL_CONNECT_MAX_RETRIES}" ]; then
157 157
   max=\${DATABASE_INITIAL_CONNECT_MAX_RETRIES}
158 158
   count=0
159
-  while ! rake mysql_test:ping > /dev/null 2>&1 && [[ \$count -le \$max ]] ; do
159
+  while ! rake database_test:ping > /dev/null 2>&1 && [[ \$count -le \$max ]] ; do
160 160
     count=\$[\$count+1]
161 161
     echo "Retry \$count of \$max attempting to connect to \$DATABASE_HOST. Sleeping \${DATABASE_INITIAL_CONNECT_SLEEP:5}"
162 162
     sleep \${DATABASE_INITIAL_CONNECT_SLEEP:5}