mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 10:52:33 +08:00
fix: fix the script
This commit is contained in:
parent
22da04b6d8
commit
80b6c2e280
@ -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() {
|
||||||
local -n service_names=$1
|
service_names=("$1[@]")
|
||||||
local -n service_ports=$2
|
service_ports=("$2[@]")
|
||||||
|
|
||||||
echo "+-------------------------+----------+"
|
echo "+-------------------------+----------+"
|
||||||
echo "| Service Name | Port |"
|
echo "| Service Name | Port |"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user