chestnut-c commented on code in PR #6605:
URL: https://github.com/apache/inlong/pull/6605#discussion_r1029980708


##########
inlong-dataproxy/dataproxy-docker/dataproxy-docker.sh:
##########
@@ -17,7 +17,7 @@
 #
 
 file_path=$(cd "$(dirname "$0")"/../;pwd)
-local_ip=$(ifconfig | grep inet | grep -v inet6 | grep -v "127.0.0.1" | awk 
'{print $2}' | grep -v "30.*")
+local_ip=$(ifconfig | grep inet | grep -v inet6 | grep -v "127.0.0.1" | awk 
'{print $2}' | grep -v "^30.*")
 # config

Review Comment:
   > It is necessary to supplement the IP filling rules here for the 
convenience of subsequent people, because if an environment uses the address of 
30.xxx.xxx.xxx, they will have similar errors
   
   Ok, I'll add some necessary explanatory notes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to