sureshanaparti commented on a change in pull request #4871:
URL: https://github.com/apache/cloudstack/pull/4871#discussion_r602029763
##########
File path:
plugins/hypervisors/vmware/src/main/java/com/cloud/storage/resource/VmwareStorageProcessor.java
##########
@@ -3963,4 +3965,81 @@ public VirtualMachineMO
cloneVMFromTemplate(VmwareHypervisorHost hyperHost, Stri
throw new CloudRuntimeException(msg, e);
}
}
+
+ @Override
+ public Answer SyncVolumePath(SyncVolumePathCommand cmd) {
+ DiskTO disk = cmd.getDisk();
+ VolumeObjectTO volumeTO = (VolumeObjectTO)disk.getData();
+ DataStoreTO primaryStore = volumeTO.getDataStore();
+ String volumePath = volumeTO.getPath();
+ String vmName = cmd.getVmName();
Review comment:
VolumeObjectTO already holds the VM name, and you can re-use the same
--
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:
[email protected]