This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git
The following commit(s) were added to refs/heads/master by this push:
new c7ec91d Delete Chinese comment (#255)
c7ec91d is described below
commit c7ec91dd7b2b7f542441e511ceec89821d2bd57f
Author: zhang-wei <[email protected]>
AuthorDate: Wed Feb 26 14:23:25 2020 +0800
Delete Chinese comment (#255)
---
run.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/run.sh b/run.sh
index 389c29e..257bc16 100755
--- a/run.sh
+++ b/run.sh
@@ -31,13 +31,13 @@ pool_name="skywalkingLB"
skywalking_collector=${SKYWALKING_URL}
-#skywalking_collector=localhost:1234,127.0.0.1:1235
+# skywalking_collector=localhost:1234,127.0.0.1:1235
- #pool对应ip地址列表,多个ip以逗号改开
+# pool_ip is a comma-separated list of IP
pool_ip=`awk
'BEGIN{list="'${skywalking_collector}'";split(list,ip_list,",");for(ip in
ip_list){print ip_list[ip];}}'`
for ip in ${pool_ip[*]};do
echo "add ${pool_name} ${ip} in ${ngx_upstream_file}"
sed -i '/upstream '${pool_name}'[^-]*{/a\\server '${ip}';'
${ngx_upstream_file}
done
echo -e "\033[31m ====add nginx.conf :==== \033[0m"
-cat $absolute_path
\ No newline at end of file
+cat $absolute_path