DaanHoogland commented on a change in pull request #3638: UEFI Support on 
CloudStack
URL: https://github.com/apache/cloudstack/pull/3638#discussion_r391670233
 
 

 ##########
 File path: 
api/src/main/java/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
 ##########
 @@ -256,12 +281,35 @@ public Long getDomainId() {
                 }
             }
         }
+        if(getBootType() != null){ // export to get
+            if(getBootType() == ApiConstants.BootType.UEFI) {
+                customparameterMap.put(getBootType().toString(), 
getBootMode().toString());
+            }
+        }
 
 Review comment:
   can you please extract to a method with a clear descriptive name? i.e. 
handleBootType(Map<String, String> customparameterMap)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to