server: fix a typo in UserVmManagerImpl.java (#2811)

Fixes typo presnt -> present

Signed-off-by: Kai Takahashi <k-takahashi@creationline.com>
This commit is contained in:
cl-k-takahashi 2018-08-17 18:35:27 +09:00 committed by Rohit Yadav
parent e4ec123f62
commit 2c3424b478

View File

@ -5058,7 +5058,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
// check if migrating to same host // check if migrating to same host
long srcHostId = vm.getHostId(); long srcHostId = vm.getHostId();
if (destinationHost.getId() == srcHostId) { 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 // check if host is UP
@ -6441,4 +6441,4 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
} }
return false; return false;
} }
} }