rhtyd closed pull request #2811: Fix a typo in
server/src/com/cloud/vm/UserVmManagerImpl.java
URL: https://github.com/apache/cloudstack/pull/2811
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java
b/server/src/com/cloud/vm/UserVmManagerImpl.java
index d3eed38cc0e..8e972155f80 100644
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -5058,7 +5058,7 @@ public VirtualMachine migrateVirtualMachine(Long vmId,
Host destinationHost) thr
// check if migrating to same host
long srcHostId = vm.getHostId();
if (destinationHost.getId() == srcHostId) {
- throw new InvalidParameterValueException("Cannot migrate VM, VM is
already presnt on this host, please specify valid destination host to migrate
the VM");
+ throw new InvalidParameterValueException("Cannot migrate VM, VM is
already present on this host, please specify valid destination host to migrate
the VM");
}
// check if host is UP
@@ -6441,4 +6441,4 @@ private boolean checkStatusOfVolumeSnapshots(long vmId,
Volume.Type type) {
}
return false;
}
-}
\ No newline at end of file
+}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services