Skip to content

Commit

Permalink
Update check-all.sh (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Dec 18, 2023
1 parent f1c9686 commit c8463a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/check-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ openim::log::info "\n# Begin to check all openim service"
# OpenIM status
# Elegant printing function
print_services_and_ports() {
declare -g service_names=("${!1}")
declare -g service_ports=("${!2}")
local -n service_names=$1
local -n service_ports=$2

echo "+-------------------------+----------+"
echo "| Service Name | Port |"
Expand Down Expand Up @@ -89,4 +89,4 @@ else
echo "++++ Check all openim service ports successfully !"
fi

set -e
set -e

0 comments on commit c8463a0

Please sign in to comment.