This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.11 by this push:
new 2c3424b server: fix a typo in UserVmManagerImpl.java (#2811)
2c3424b is described below
commit 2c3424b478500116d2dfe38e7249c99a01ae8af8
Author: cl-k-takahashi <[email protected]>
AuthorDate: Fri Aug 17 18:35:27 2018 +0900
server: fix a typo in UserVmManagerImpl.java (#2811)
Fixes typo presnt -> present
Signed-off-by: Kai Takahashi <[email protected]>
---
server/src/com/cloud/vm/UserVmManagerImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java
b/server/src/com/cloud/vm/UserVmManagerImpl.java
index d3eed38..8e97215 100644
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -5058,7 +5058,7 @@ public class UserVmManagerImpl extends ManagerBase
implements UserVmManager, Vir
// 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 @@ public class UserVmManagerImpl extends ManagerBase
implements UserVmManager, Vir
}
return false;
}
-}
\ No newline at end of file
+}