rg9975 commented on code in PR #8889:
URL: https://github.com/apache/cloudstack/pull/8889#discussion_r1634944789


##########
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java:
##########
@@ -2463,8 +2473,12 @@ public Answer copyVolumeFromPrimaryToPrimary(CopyCommand 
cmd) {
                 if 
(!storagePoolMgr.connectPhysicalDisk(destPrimaryStore.getPoolType(), 
destPrimaryStore.getUuid(), destVolumePath, destPrimaryStore.getDetails())) {
                     s_logger.warn("Failed to connect dest volume at path: " + 
destVolumePath + ", in storage pool id: " + destPrimaryStore.getUuid());
                 }
-                String managedStoreTarget = destPrimaryStore.getDetails() != 
null ? destPrimaryStore.getDetails().get("managedStoreTarget") : null;
-                destVolumeName = managedStoreTarget != null ? 
managedStoreTarget : destVolumePath;
+                if (destPrimaryStore.getPoolType() == 
StoragePoolType.FiberChannel) {

Review Comment:
   Addressed in 310a35b85a.



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