mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
get expunged VM data for job result (#9949)
This commit is contained in:
parent
c56fc7f81c
commit
a73841a693
@ -5611,7 +5611,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
||||
//Update Resource Count for the given account
|
||||
resourceCountDecrement(vm.getAccountId(), vm.isDisplayVm(), new Long(offering.getCpu()), new Long(offering.getRamSize()));
|
||||
}
|
||||
return _vmDao.findById(vmId);
|
||||
return _vmDao.findByIdIncludingRemoved(vmId);
|
||||
} else {
|
||||
CloudRuntimeException ex = new CloudRuntimeException("Failed to destroy vm with specified vmId");
|
||||
ex.addProxyObject(vm.getUuid(), "vmId");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user