mirror of https://github.com/apache/cloudstack.git
bug 8009: return null instead of exception when the vm is stuck in STARTING
status 8009: resolved fixed
This commit is contained in:
parent
42950f2e8b
commit
f932ebf58f
|
|
@ -1888,7 +1888,8 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
|
|||
if (status) {
|
||||
return _vmDao.findById(vmId);
|
||||
} else {
|
||||
throw new CloudRuntimeException("Failed to reboot vm with id: " + vmId);
|
||||
s_logger.warn("Failed to reboot vm with id: " + vmId);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue