mirror of https://github.com/apache/cloudstack.git
no retrieval of null hosts (#10175)
This commit is contained in:
parent
7adc732992
commit
fce77733a5
|
|
@ -448,8 +448,6 @@ StateListener<State, VirtualMachine.Event, VirtualMachine>, Configurable {
|
|||
|
||||
HostVO host = _hostDao.findById(vm.getLastHostId());
|
||||
lastHost = host;
|
||||
_hostDao.loadHostTags(host);
|
||||
_hostDao.loadDetails(host);
|
||||
ServiceOfferingDetailsVO offeringDetails = null;
|
||||
if (host == null) {
|
||||
s_logger.debug("The last host of this VM cannot be found");
|
||||
|
|
|
|||
Loading…
Reference in New Issue