This commit is contained in:
wangchuxiao 2022-09-12 20:11:33 +08:00
parent 85565dc137
commit 15b01a07b5

View File

@ -76,7 +76,7 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
list_to_string ${portList}
service_ports=($ports_array)
portList2=$(cat $config_path | grep pushPrometheusPort | awk -F '[:]' '{print $NF}')
portList2=$(cat $config_path | grep ${service_prometheus_port_name[$i]} | awk -F '[:]' '{print $NF}')
list_to_string $portList2
prome_ports=($ports_array)
#Start related rpc services based on the number of ports