You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/29 07:20:33 UTC

[GitHub] [incubator-doris] yiguolei commented on a diff in pull request #9172: [enhancement](k8s) Support k8s_container_detect_drift_mode for be and broker in k8s enviroment

yiguolei commented on code in PR #9172:
URL: https://github.com/apache/incubator-doris/pull/9172#discussion_r861518506


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/BackendClause.java:
##########
@@ -32,26 +33,27 @@
 
 public class BackendClause extends AlterClause {
     protected List<String> hostPorts;
-    protected List<Pair<String, Integer>> hostPortPairs;
+    protected List<Triple<String, String, Integer>> ipHostPorTriples;
 
     protected BackendClause(List<String> hostPorts) {
         super(AlterOpType.ALTER_OTHER);
         this.hostPorts = hostPorts;
-        this.hostPortPairs = new LinkedList<Pair<String, Integer>>();
+        this.ipHostPorTriples = new LinkedList<>();
     }
 
-    public List<Pair<String, Integer>> getHostPortPairs() {
-        return hostPortPairs;
+    public List<Triple<String, String, Integer>>  getIpHostPorTriples() {

Review Comment:
   getIpHostPortTriples ? 



-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org