forked from github/dataease
refactor: 修改healthcheck文案
This commit is contained in:
parent
6cf59b443e
commit
56f83891b2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user