sureshanaparti commented on code in PR #9619:
URL: https://github.com/apache/cloudstack/pull/9619#discussion_r1745337399
##########
api/src/main/java/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java:
##########
@@ -229,6 +235,14 @@ public boolean isPasswordEnabled() {
return passwordEnabled == null ? false : passwordEnabled;
}
+ public void setArch(String arch) {
+ this.arch = arch;
+ }
+
+ public CPU.CPUArch getArch() {
+ return CPU.CPUArch.fromType(arch);
Review Comment:
```suggestion
if (StringUtils.isBlank(arch)) {
return null;
}
return CPU.CPUArch.fromType(arch);
```
--
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]