stalary commented on code in PR #9172: URL: https://github.com/apache/incubator-doris/pull/9172#discussion_r858758597
########## fe/fe-core/src/main/java/org/apache/doris/system/SystemInfoService.java: ########## @@ -1061,7 +1084,7 @@ public static Pair<String, Integer> validateHostAndPort(String hostPort) throws throw new AnalysisException("Port is out of range: " + heartbeatPort); } - return new Pair<String, Integer>(host, heartbeatPort); + return Triple.of(ip, Config.enable_k8s_container_drift_mode ? hostName : null, heartbeatPort); Review Comment: I mean is it possible to change this to`return Triple.of(ip, Config.enable_k8s_container_drift_mode ? hostName : ip, heartbeatPort);` -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org