mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Removing trailing spaces
This commit is contained in:
parent
3af2ce3f50
commit
aa585e3428
@ -1077,19 +1077,19 @@ Configurable, StateListener<State, VirtualMachine.Event, VirtualMachine> {
|
||||
continue;
|
||||
}
|
||||
checkedNetwork.add(routerGuestNtwkId);
|
||||
|
||||
|
||||
final List<DomainRouterVO> checkingRouters;
|
||||
Long vpcId = router.getVpcId();
|
||||
final Long vpcId = router.getVpcId();
|
||||
if (vpcId != null) {
|
||||
checkingRouters = _routerDao.listByVpcId(vpcId);
|
||||
} else {
|
||||
checkingRouters = _routerDao.listByNetworkAndRole(routerGuestNtwkId, Role.VIRTUAL_ROUTER);
|
||||
}
|
||||
|
||||
|
||||
if (checkingRouters.size() != 2) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
DomainRouterVO masterRouter = null;
|
||||
DomainRouterVO backupRouter = null;
|
||||
for (final DomainRouterVO r : checkingRouters) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user