You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/03/23 20:38:27 UTC

[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #3985: NPE fix for System VM's start Command

sureshanaparti commented on a change in pull request #3985:  NPE fix for System VM's start Command
URL: https://github.com/apache/cloudstack/pull/3985#discussion_r396740464
 
 

 ##########
 File path: plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 ##########
 @@ -2286,7 +2286,7 @@ protected StartAnswer execute(StartCommand cmd) {
                 }
             }
 
-            if (!bootMode.equalsIgnoreCase(ApiConstants.BootType.BIOS.toString())) {
+            if (StringUtils.isNotBlank(bootMode) && !bootMode.equalsIgnoreCase(ApiConstants.BootType.BIOS.toString())) {
 
 Review comment:
   @pavanaravapalli  bootMode compared with boot type. Please check.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services