mirror of https://github.com/apache/cloudstack.git
bug 12404: Fix transcation with private method when deleteHost
This commit is contained in:
parent
08ae2bc9ff
commit
a08768112f
|
|
@ -685,7 +685,7 @@ public class ResourceManagerImpl implements ResourceManager, ResourceService, Ma
|
|||
}
|
||||
|
||||
@DB
|
||||
private boolean doDeleteHost(long hostId, boolean isForced, boolean isForceDeleteStorage) {
|
||||
protected boolean doDeleteHost(long hostId, boolean isForced, boolean isForceDeleteStorage) {
|
||||
User caller = _accountMgr.getActiveUser(UserContext.current().getCallerUserId());
|
||||
// Verify that host exists
|
||||
HostVO host = _hostDao.findById(hostId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue