harikrishna-patnala commented on code in PR #6483:
URL: https://github.com/apache/cloudstack/pull/6483#discussion_r907010503


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/guru/VMwareGuru.java:
##########
@@ -1104,13 +1124,22 @@ public List<Command> finalizeMigrate(VirtualMachine vm, 
Map<Volume, StoragePool>
             if (pool.getClusterId() != null) {
                 poolClusterId = pool.getClusterId();
             }
+            if (volume.getVolumeType().equals(Volume.Type.ROOT) && 
pool.isLocal()) {
+                isLocalStorageMigration = true;

Review Comment:
   I've intentionally kept it out of this loop to retrieve the target host guid 
for localstorage and shared storage together.



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