mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-10 13:09:51 +08:00
Update check-all.sh (#1573)
This commit is contained in:
parent
f1c9686ada
commit
c8463a0a80
@ -33,8 +33,8 @@ openim::log::info "\n# Begin to check all openim service"
|
|||||||
# OpenIM status
|
# OpenIM status
|
||||||
# Elegant printing function
|
# Elegant printing function
|
||||||
print_services_and_ports() {
|
print_services_and_ports() {
|
||||||
declare -g service_names=("${!1}")
|
local -n service_names=$1
|
||||||
declare -g service_ports=("${!2}")
|
local -n service_ports=$2
|
||||||
|
|
||||||
echo "+-------------------------+----------+"
|
echo "+-------------------------+----------+"
|
||||||
echo "| Service Name | Port |"
|
echo "| Service Name | Port |"
|
||||||
@ -89,4 +89,4 @@ else
|
|||||||
echo "++++ Check all openim service ports successfully !"
|
echo "++++ Check all openim service ports successfully !"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user