sureshanaparti commented on code in PR #6483:
URL: https://github.com/apache/cloudstack/pull/6483#discussion_r907015302
##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/guru/VMwareGuru.java:
##########
@@ -1070,6 +1073,22 @@ private boolean isInterClusterMigration(Long
srcClusterId, Long destClusterId) {
return srcClusterId != null && destClusterId != null && !
srcClusterId.equals(destClusterId);
}
+ private String getHostGuidForLocalStorage(Map<Volume, StoragePool>
volumeToPool) {
+ String hostGuidInTargetCluster = null;
+ for (Map.Entry<Volume, StoragePool> entry : volumeToPool.entrySet()) {
Review Comment:
No point in iterating this volume map twice, use pool id instead.
--
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]