GutoVeronezi commented on a change in pull request #5170:
URL: https://github.com/apache/cloudstack/pull/5170#discussion_r663907937
##########
File path:
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
##########
@@ -7337,20 +7337,20 @@ private Answer execute(PrepareUnmanageVMInstanceCommand
cmd) {
if (targetHyperHost != null) {
ManagedObjectReference morTargetHostDc =
targetHyperHost.getHyperHostDatacenter();
if
(!morSourceHostDc.getValue().equalsIgnoreCase(morTargetHostDc.getValue())) {
- String msg = "VM " + vmName + " cannot be migrated between
different datacenter";
+ String msg = String.format("VM: %s cannot be migrated
between different datacenter", vmName);
Review comment:
@shwstppr understood, thanks.
--
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]