mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
e4ec123f62
commit
2c3424b478
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user