You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/24 14:53:02 UTC

[GitHub] [inlong] GanfengTan commented on a diff in pull request #5677: [INLONG-5675][Agent] Support custom fixed ip for Agent

GanfengTan commented on code in PR #5677:
URL: https://github.com/apache/inlong/pull/5677#discussion_r953905668


##########
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/AgentUtils.java:
##########
@@ -348,6 +349,10 @@ public static String getmValue(String addictiveAttr) {
      * Check agent ip from manager
      */
     public static String fetchLocalIp() {
+        if (AgentConfiguration.getAgentConf().hasKey(CUSTOM_FIXED_IP) && StringUtils

Review Comment:
   done



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org