sureshanaparti commented on code in PR #8915:
URL: https://github.com/apache/cloudstack/pull/8915#discussion_r1566735909


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
##########
@@ -2969,7 +2969,10 @@ protected void 
setVAppPropertiesToConfigSpec(VmConfigInfo vAppConfig,
     }
 
     private String appendFileType(String path, String fileType) {
-        if (path.toLowerCase().endsWith(fileType.toLowerCase())) {
+        if (path == null) {

Review Comment:
   ```suggestion
           if (StringUtils.isBlank(path)) {
   ```



-- 
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]

Reply via email to