nvazquez commented on code in PR #9619:
URL: https://github.com/apache/cloudstack/pull/9619#discussion_r1745997891


##########
api/src/main/java/org/apache/cloudstack/api/command/admin/cluster/AddClusterCmd.java:
##########
@@ -204,6 +210,10 @@ public ApiCommandResourceType getApiResourceType() {
         return ApiCommandResourceType.Cluster;
     }
 
+    public CPU.CPUArch getArch() {
+        return CPU.CPUArch.fromType(arch);

Review Comment:
   Hi @sureshanaparti it will fallback to the default arch (x86_64) as in DB we 
won't have null values for clusters



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

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

Reply via email to