rohityadavcloud commented on code in PR #7761:
URL: https://github.com/apache/cloudstack/pull/7761#discussion_r1270326730


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java:
##########
@@ -1113,6 +1113,9 @@ private long getVMSnapshotChainSize(VmwareContext 
context, VmwareHypervisorHost
         DatastoreMO dsMo = new DatastoreMO(context, morDs);
         HostDatastoreBrowserMO browserMo = dsMo.getHostDatastoreBrowserMO();
         String datastorePath = (new DatastoreFile(dsMo.getName(), 
vmName)).getPath();
+        if (datastorePath.startsWith("[-iqn.")) { // ex. 
[-iqn.2010-01.com.solidfire:3p53.data-9999.97-0] i-2-9999-VM

Review Comment:
   Note: similar code exists in the caller that checks for the specific 
datastore string



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