fix: build enhancement

This commit is contained in:
zhangsz committed 2025-02-24 14:05:48 +08:00
1 parent 9ba56e815f
commit 69d4a61177
5 files changed
+11 -11

No files matched your search

+3 -2
View File
@@ -183,8 +183,9 @@ EOF"
while [ $elapsed -lt $timeout ]; do
health_status=$(docker inspect --format='{{.State.Health.Status}}' $mysql_container_name)
if [ "$health_status" == "healthy" ]; then
echo "Upgrade database: "
${wfc_work_dir}/bin/wfcupgdb.sh all
echo "Container $mysql_container_name is healthy"
echo "Executing database upgrade scripts ..."
${wfc_work_dir}/bin/wfcupgrade.sh
exit 0
fi
sleep $interval