Update UserVmManagerImpl.java (#4162)

This commit is contained in:
dahn 2020-06-22 14:37:43 +02:00 committed by GitHub
parent 972d2e201c
commit 475ae904c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2833,7 +2833,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
Boolean enterSetup = cmd.getBootIntoSetup();
if (enterSetup != null && !HypervisorType.VMware.equals(vmInstance.getHypervisorType())) {
throw new InvalidParameterValueException("booting into a hardware setup menu does not make sense on " + vmInstance.getHypervisorType());
throw new InvalidParameterValueException("Booting into a hardware setup menu is not implemented on " + vmInstance.getHypervisorType());
}
UserVm userVm = rebootVirtualMachine(CallContext.current().getCallingUserId(), vmId, enterSetup == null ? false : cmd.getBootIntoSetup());
if (userVm != null ) {