mirror of https://github.com/apache/cloudstack.git
Redundant Router: Fix priority records in db
This commit is contained in:
parent
333be7de4d
commit
fd2e8c9ac4
|
|
@ -2060,6 +2060,7 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V
|
|||
try {
|
||||
int priority = getUpdatedPriority(guestNetwork, routers, router);
|
||||
router.setPriority(priority);
|
||||
router = _routerDao.persist(router);
|
||||
} catch (InsufficientVirtualNetworkCapcityException e) {
|
||||
s_logger.error("Failed to get update priority!", e);
|
||||
throw new CloudRuntimeException("Failed to get update priority!");
|
||||
|
|
|
|||
Loading…
Reference in New Issue