caishunfeng commented on code in PR #11660:
URL: https://github.com/apache/dolphinscheduler/pull/11660#discussion_r965636133


##########
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/NetUtils.java:
##########
@@ -118,9 +119,12 @@ private static synchronized InetAddress getLocalAddress0() 
{
         if (null != LOCAL_ADDRESS) {
             return LOCAL_ADDRESS;
         }
-
+        String specifyNetworkIP = 
PropertyUtils.getString(Constants.DOLPHIN_SCHEDULER_NETWORK_IP);

Review Comment:
   It's not a good way to add specify ip logic in method `getLocalAddress0`.



-- 
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