From f161f55ecb9aa5a9ddd15d9ebc76cadead63db9b Mon Sep 17 00:00:00 2001 From: Away <1819625428@qq.com> Date: Sat, 25 Sep 2021 16:10:34 +0800 Subject: [PATCH] docker-compose check service of kafka in shell --- script/docker_check_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/docker_check_service.sh b/script/docker_check_service.sh index b2a4ab7c0..e380cb3fb 100644 --- a/script/docker_check_service.sh +++ b/script/docker_check_service.sh @@ -26,7 +26,7 @@ for ((i = 0; i < ${#docker_compose_components[*]}; i++)); do fi done -if [ ${component_server_count} -eq 6 ]; then +if [ ${component_server_count} -eq 7 ]; then echo -e "${YELLOW_PREFIX}\ndocker-compose all services is Up!${COLOR_SUFFIX}" else echo -e "${RED_PREFIX}\nsome docker-compose services start failed,please check red logs on console ${COLOR_SUFFIX}"