mirror of https://github.com/apache/cloudstack.git
fix problems after merging in bug fixes from 2.1.x
This commit is contained in:
parent
8a1245d433
commit
76c7b54fc5
|
|
@ -298,7 +298,7 @@ public class DomainRouterDaoImpl extends GenericDaoBase<DomainRouterVO, Long> im
|
|||
public List<DomainRouterVO> listByVlanDbId(Long vlanDbId) {
|
||||
SearchCriteria<DomainRouterVO> sc = VlanDbIdSearch.create();
|
||||
sc.setParameters("vlanDbId", vlanDbId);
|
||||
return listActiveBy(sc);
|
||||
return listBy(sc);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -2564,7 +2564,7 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, VirtualM
|
|||
txn.start();
|
||||
_vmDao.updateIf(vm, Event.OperationSucceeded, host.getId());
|
||||
txn.commit();
|
||||
_networkGroupManager.handleVmStateTransition(vm, State.Running);
|
||||
_networkGroupMgr.handleVmStateTransition(vm, State.Running);
|
||||
return true;
|
||||
} catch(Exception e) {
|
||||
s_logger.warn("Exception during completion of migration process " + vm.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue