refactor: 修改healthcheck文案

This commit is contained in:
xuwei-fit2cloud 2023-11-07 17:28:16 +08:00
parent 6cf59b443e
commit 56f83891b2

View File

@ -69,7 +69,7 @@ function _healthcheck() {
container_name=$(grep "container_name" $DE_RUNNING_BASE/docker-compose.yml | awk -F': ' '{print $2}')
sleep 1
if [ -z $(docker ps --filter "name=$container_name" -q) ];then
echo "未找到容器 $container_name,请检查配置文件。"
echo "未找到容器 $container_name。"
exit 1
fi