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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to