bug 12404: Fix transcation with private method when deleteHost

This commit is contained in:
Sheng Yang 2011-12-07 15:05:54 -08:00
parent 08ae2bc9ff
commit a08768112f
1 changed files with 1 additions and 1 deletions

View File

@ -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);