gavinchou commented on code in PR #40767:
URL: https://github.com/apache/doris/pull/40767#discussion_r1759717842


##########
fe/fe-core/src/main/java/org/apache/doris/cloud/system/CloudSystemInfoService.java:
##########
@@ -817,8 +830,8 @@ public void dropFrontend(FrontendNodeType role, String 
host, int editLogPort) th
         alterFrontendCluster(role, host, editLogPort, 
Cloud.AlterClusterRequest.Operation.DROP_NODE);
     }
 
-    private String tryCreateCluster(String clusterName, String clusterId) 
throws UserException {
-        if (Strings.isNullOrEmpty(Config.cloud_instance_id)) {
+    private String tryCreateComputeGroup(String clusterName, String clusterId) 
throws UserException {
+        if (Strings.isNullOrEmpty(((CloudEnv) 
Env.getCurrentEnv()).getCloudInstanceId())) {
             throw new DdlException("unable to create cluster due to empty 
cloud_instance_id");

Review Comment:
   
   ```suggestion
               throw new DdlException("unable to create compute group due to 
empty cloud_instance_id");
   ```



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

Reply via email to